mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-20 10:12:06 +01:00
fix directories
This commit is contained in:
parent
79c247285b
commit
003c396218
@ -51,7 +51,9 @@ if [ ${clean} -eq 1 ]; then
|
||||
echo "Cleaning scripts & assets/config.scripts"
|
||||
rm *.sh
|
||||
rm -r assets
|
||||
mkdir assets
|
||||
rm -r config.scripts
|
||||
mkdir config.scripts
|
||||
else
|
||||
echo "******************************************"
|
||||
echo "NOT cleaning/deleting old files"
|
||||
@ -61,8 +63,8 @@ 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 cp -f /home/admin/raspiblitz/home.admin/assets/*.* /home/admin/
|
||||
sudo -u admin cp -f /home/admin/raspiblitz/home.admin/config.scripts/*.* /home/admin/
|
||||
sudo -u admin cp -f /home/admin/raspiblitz/home.admin/assets/*.* /home/admin/assets
|
||||
sudo -u admin cp -f /home/admin/raspiblitz/home.admin/config.scripts/*.* /home/admin/config.scripts
|
||||
sudo -u admin chmod +x /home/admin/config.scripts/*.sh
|
||||
echo "******************************************"
|
||||
echo "OK - shell scripts and assests are synced"
|
||||
|
Loading…
Reference in New Issue
Block a user