From bf3f1ca02821f9121ebe6cc66b3f4bbbd39ffb69 Mon Sep 17 00:00:00 2001 From: rootzoll Date: Wed, 8 Aug 2018 19:58:15 +0200 Subject: [PATCH] minimal update script --- home.admin/XXupdateScripts.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 home.admin/XXupdateScripts.sh diff --git a/home.admin/XXupdateScripts.sh b/home.admin/XXupdateScripts.sh new file mode 100755 index 0000000..df021b5 --- /dev/null +++ b/home.admin/XXupdateScripts.sh @@ -0,0 +1,14 @@ +#!/bin/bash +echo "" +echo "*** UPDATING SHELL SCRIPTS FROM GITHUB ***" +echo "justincase, not the final upadte mechanism" +echo "******************************************" +cd /home/admin/raspiblitz +git pull +cd .. +rm *.sh +rm -r assets +sudo -u admin cp /home/admin/raspiblitz/home.admin/*.sh /home/admin +sudo -u admin chmod +x *.sh +sudo -u admin cp -r /home/admin/raspiblitz/home.admin/assets /home/admin/ +echo "OK - shell scripts and assests are up to date"