refactor copying

This commit is contained in:
Christian Rotzoll 2019-04-12 12:02:05 +01:00
parent e2d33c2263
commit f296cc0cb9

View file

@ -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 "******************************************"