mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-20 10:12:06 +01:00
20 lines
675 B
Bash
Executable File
20 lines
675 B
Bash
Executable File
#!/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/*.* /home/admin
|
|
sudo -u admin chmod +x *.sh
|
|
sudo -u admin cp -r /home/admin/raspiblitz/home.admin/assets /home/admin/
|
|
sudo -u admin cp -r /home/admin/raspiblitz/home.admin/config.scripts /home/admin/
|
|
sudo -u admin chmod +x /home/admin/config.scripts/*.sh
|
|
echo "******************************************"
|
|
echo "OK - shell scripts and assests are up to date"
|
|
echo "Reboot recommended"
|
|
echo ""
|