mirror of
https://github.com/YunoHost-Apps/archivist_ynh.git
synced 2024-09-03 18:15:55 +02:00
fix tests
This commit is contained in:
parent
b36285ec0f
commit
8020d9fd0a
1 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ ynh_script_progression --message="Validating installation parameters..."
|
||||||
final_path=/opt/yunohost/$app
|
final_path=/opt/yunohost/$app
|
||||||
test ! -e "$final_path" || ynh_die --message="This path already contains a folder"
|
test ! -e "$final_path" || ynh_die --message="This path already contains a folder"
|
||||||
|
|
||||||
if [ $encrypt -eq 1 ]; then
|
if [ $encrypt ]; then
|
||||||
test -n "$encryption_pwd" || ynh_die --message="encryption_pwd can't be empty if you choose to enable encryption."
|
test -n "$encryption_pwd" || ynh_die --message="encryption_pwd can't be empty if you choose to enable encryption."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -104,7 +104,7 @@ fi
|
||||||
|
|
||||||
ynh_add_config --template="Backup_list.conf.default" --destination="$config_file"
|
ynh_add_config --template="Backup_list.conf.default" --destination="$config_file"
|
||||||
|
|
||||||
if [ $apps_backup -eq 1 ]
|
if [ $apps_backup ]
|
||||||
then
|
then
|
||||||
# Add all current applications to the backup
|
# Add all current applications to the backup
|
||||||
while read backup_app
|
while read backup_app
|
||||||
|
|
Loading…
Add table
Reference in a new issue