mirror of
https://github.com/YunoHost-Apps/garradin_ynh.git
synced 2024-09-03 18:36:17 +02:00
clean syntax for scripts with helpers in yunohost
This commit is contained in:
parent
2f5ec708a2
commit
83779d120e
1 changed files with 2 additions and 2 deletions
|
@ -118,13 +118,13 @@ backup_squelettes=/tmp/squelettes
|
|||
if [ -d "$backup_squelettes" ]
|
||||
then
|
||||
cp -ar $backup_squelettes $final_path/www/squelettes
|
||||
rm -r $backup_squelettes
|
||||
ynh_secure_remove $backup_squelettes
|
||||
fi
|
||||
|
||||
if [ -e "$backup_bdd" ]
|
||||
then
|
||||
cp -a $backup_bdd $final_path/association.sqlite
|
||||
rm -r $backup_bdd
|
||||
ynh_secure_remove $backup_bdd
|
||||
fi
|
||||
|
||||
key=$(ynh_string_random --length=50)
|
||||
|
|
Loading…
Reference in a new issue