From 5d6f21eac4cbbb6c0c13d3e8425ee7431c976fd1 Mon Sep 17 00:00:00 2001 From: fronti1 <58669830+fronti1@users.noreply.github.com> Date: Sat, 18 Jan 2020 21:31:44 +0100 Subject: [PATCH] update build_sdcard.sh fixed missing sudo -u in LCD Driver section --- build_sdcard.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build_sdcard.sh b/build_sdcard.sh index 74bc656d..83b10277 100644 --- a/build_sdcard.sh +++ b/build_sdcard.sh @@ -729,12 +729,12 @@ echo "*** LCD DRIVER ***" echo "--> Downloading LCD Driver from Github" cd /home/admin/ -git clone https://github.com/goodtft/LCD-show.git -sudo chmod -R 755 LCD-show -sudo chown -R admin:admin LCD-show +sudo -u admin git clone https://github.com/goodtft/LCD-show.git +sudo -u admin chmod -R 755 LCD-show +sudo -u admin chown -R admin:admin LCD-show cd LCD-show/ # set comit hard to a8de38f (7 Nov 2019) for security -sudo git reset --hard a8de38f41586e153a8e03adcf7708c8b5974ffc8 +sudo -u admin git reset --hard a8de38f41586e153a8e03adcf7708c8b5974ffc8 # install xinput calibrator package echo "--> install xinput calibrator package"