mirror of
https://github.com/YunoHost-Apps/z-push_ynh.git
synced 2024-09-03 18:05:58 +02:00
cp -a /. instead of cp -a /*
This commit is contained in:
parent
7b5af6c82f
commit
9b919ee7ec
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ sudo chown -R www-data:www-data $statedir
|
||||||
|
|
||||||
# Restore logs, data & permissions
|
# Restore logs, data & permissions
|
||||||
sudo mkdir -p $final_logpath
|
sudo mkdir -p $final_logpath
|
||||||
sudo cp -a ./logs/* $final_logpath/
|
sudo cp -a ./logs/. $final_logpath/
|
||||||
sudo chown -R www-data:www-data $final_logpath
|
sudo chown -R www-data:www-data $final_logpath
|
||||||
|
|
||||||
# Restore logrotate
|
# Restore logrotate
|
||||||
|
|
Loading…
Add table
Reference in a new issue