raspiblitz/home.admin/XXupdateScripts.sh

20 lines
675 B
Bash
Raw Normal View History

2018-08-08 19:58:15 +02:00
#!/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
2018-09-21 21:33:13 +02:00
sudo -u admin cp /home/admin/raspiblitz/home.admin/*.* /home/admin
2018-08-08 19:58:15 +02:00
sudo -u admin chmod +x *.sh
sudo -u admin cp -r /home/admin/raspiblitz/home.admin/assets /home/admin/
2018-12-02 20:30:34 +01:00
sudo -u admin cp -r /home/admin/raspiblitz/home.admin/config.scripts /home/admin/
2018-12-02 20:55:45 +01:00
sudo -u admin chmod +x /home/admin/config.scripts/*.sh
2018-08-08 20:00:32 +02:00
echo "******************************************"
2018-08-08 19:58:15 +02:00
echo "OK - shell scripts and assests are up to date"
2018-08-08 19:59:42 +02:00
echo "Reboot recommended"
echo ""