Browse Source

refactor copying

master
Christian Rotzoll 6 years ago
parent
commit
f296cc0cb9
  1. 8
      home.admin/XXsyncScripts.sh

8
home.admin/XXsyncScripts.sh

@ -61,11 +61,9 @@ else
echo "******************************************"
fi
echo "COPYING from GIT-Directory to /home/admin/ .."
sudo -u admin cp -f /home/admin/raspiblitz/home.admin/*.* /home/admin
sudo -u admin chmod +x *.sh
sudo -u admin chmod +x *.py
sudo -u admin cp -f /home/admin/raspiblitz/home.admin/assets/*.* /home/admin/assets
sudo -u admin cp -r -f /home/admin/raspiblitz/home.admin/config.scripts/*.* /home/admin/config.scripts
sudo -u admin cp -r -f /home/admin/raspiblitz/home.admin/*.* /home/admin
sudo -u admin chmod +x /home/admin/*.sh
sudo -u admin chmod +x /home/admin/*.py
sudo -u admin chmod +x /home/admin/config.scripts/*.sh
sudo -u admin chmod +x /home/admin/config.scripts/*.py
echo "******************************************"

Loading…
Cancel
Save