1
0
Fork 0
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:
Robles Rodolphe 2021-03-29 22:00:48 +02:00
parent 2f5ec708a2
commit 83779d120e

View file

@ -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)