summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Tringali <tringalinvent@libero.it>2019-01-24 17:54:43 +0100
committerLuca Tringali <tringalinvent@libero.it>2019-01-24 17:54:43 +0100
commitf0f1936648c2d9fb05f8a4a36a818a154110ebda (patch)
tree703a57002d506cda3e948e41b314aadcdf90044f
parentcd0ee5419847f47206861780504e1c1595b2d07c (diff)
Warning for adafruit script
-rw-r--r--README.md2
-rw-r--r--adafruit-pitft.sh3
2 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index 3e9a47f..cf227f3 100644
--- a/README.md
+++ b/README.md
@@ -10,3 +10,5 @@ Then just reboot the system and wait for the interface to load. If you are using
You also need to install libraries for GPIO pins and the therm sensors:
sudo aptitude install python3-rpi.gpio
sudo pip3 install w1thermsensor
+If you are using Raspbian Buster before its official release date, and you have a PiTFT from Adafruit, PiTFT script might not work correctly. Instead of the official script, please use the one included in this git repository, running:
+sudo ./adafruit-pitft.sh
diff --git a/adafruit-pitft.sh b/adafruit-pitft.sh
index dbac144..8bb1d62 100644
--- a/adafruit-pitft.sh
+++ b/adafruit-pitft.sh
@@ -6,6 +6,9 @@
# chmod +x adafruit-pitft.sh
# sudo ./adafruit-pitft.sh
+echo "WARNING:"
+echo "This script should only be used with the Raspbian Buster beta image by codice-sorgente.it (https://www.codice-sorgente.it/raspbian-buster-pyside2-lxqt/#English)"
+
if [ $(id -u) -ne 0 ]; then
echo "Installer must be run as root."
echo "Try 'sudo bash $0'"