update touchscreen with sudo

This commit is contained in:
rootzoll 2020-06-03 14:18:50 +02:00
parent b84c05ecaf
commit dd8dbcef90
2 changed files with 2 additions and 2 deletions

View File

@ -167,7 +167,7 @@ if [ "${touchscreen}" = "1" ]; then
echo "# BlitzTUI did not changed." echo "# BlitzTUI did not changed."
else else
echo "# BlitzTUI changed --> UPDATING TOUCHSCREEN INSTALL ..." echo "# BlitzTUI changed --> UPDATING TOUCHSCREEN INSTALL ..."
sudo ./config.scripts/blitz.touchscreen.sh update sudo /home/admin/config.scripts/blitz.touchscreen.sh update
fi fi
fi fi
echo "# ******************************************" echo "# ******************************************"

View File

@ -141,7 +141,7 @@ fi
if [ "$1" = "update" ]; then if [ "$1" = "update" ]; then
echo "updating BlitzTUI (including python dependencies) ..." echo "updating BlitzTUI (including python dependencies) ..."
/home/admin/python3-env-lnd/bin/pip install /home/admin/raspiblitz/home.admin/BlitzTUI/ sudo /home/admin/python3-env-lnd/bin/pip install /home/admin/raspiblitz/home.admin/BlitzTUI/
exit 0 exit 0
fi fi