mirror of
https://github.com/YunoHost-Apps/garradin_ynh.git
synced 2024-09-03 18:36:17 +02:00
prevent script upgrade loose the backups
This commit is contained in:
parent
bd9781351b
commit
8b6d8f20ca
1 changed files with 0 additions and 2 deletions
|
@ -101,13 +101,11 @@ then
|
|||
if [ -d "$backup_squelettes" ]
|
||||
then
|
||||
cp -ar $backup_squelettes $final_path/www/squelettes
|
||||
ynh_secure_remove $backup_squelettes
|
||||
fi
|
||||
|
||||
if [ -e "$backup_bdd" ]
|
||||
then
|
||||
cp -a $backup_bdd $final_path/association.sqlite
|
||||
ynh_secure_remove $backup_bdd
|
||||
fi
|
||||
|
||||
chown -R $app:$app $final_path
|
||||
|
|
Loading…
Reference in a new issue