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."
else
echo "# BlitzTUI changed --> UPDATING TOUCHSCREEN INSTALL ..."
sudo ./config.scripts/blitz.touchscreen.sh update
sudo /home/admin/config.scripts/blitz.touchscreen.sh update
fi
fi
echo "# ******************************************"

View File

@ -141,7 +141,7 @@ fi
if [ "$1" = "update" ]; then
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
fi