aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhesicong <derekhe@april1985.com>2015-07-05 00:51:22 +0800
committerhesicong <derekhe@april1985.com>2015-07-05 00:51:22 +0800
commitbae7ce9ee77ebe5a084648d4b09c1e2401796b06 (patch)
tree5faa926d7ee440d1857e0b30ea62f0cd27aa5211
parentcfe824aff9cd0f99d31fdf823d2e40b889705d6e (diff)
downloadwaveshare-7inch-touchscreen-driver-bae7ce9ee77ebe5a084648d4b09c1e2401796b06.tar.xz
waveshare-7inch-touchscreen-driver-bae7ce9ee77ebe5a084648d4b09c1e2401796b06.zip
Update install.sh
-rw-r--r--install.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/install.sh b/install.sh
index 7059a12..9af1910 100644
--- a/install.sh
+++ b/install.sh
@@ -4,11 +4,13 @@ chmod +x *.sh *.py
sudo patch -b /boot/config.txt 7inch.patch
sudo apt-get install -y python3-pip libudev-dev
sudo pip-3.2 install python-uinput pyudev
+#if pip-3.2 can't be found, please use pip3
+#sudo pip3 install python-uinput pyudev
sudo cp touch.py /usr/bin/
sudo cp touch.sh /etc/init.d/
-chmod +x /usr/bin/touch.py
-chmod +x /etc/init.d/touch.sh
+sudo chmod +x /usr/bin/touch.py
+sudo chmod +x /etc/init.d/touch.sh
-sudo update-rc.d touch.sh defaults \ No newline at end of file
+sudo update-rc.d touch.sh defaults