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
|
||||
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."
|
||||
fi
|
||||
|
||||
|
@ -104,7 +104,7 @@ fi
|
|||
|
||||
ynh_add_config --template="Backup_list.conf.default" --destination="$config_file"
|
||||
|
||||
if [ $apps_backup -eq 1 ]
|
||||
if [ $apps_backup ]
|
||||
then
|
||||
# Add all current applications to the backup
|
||||
while read backup_app
|
||||
|
|
Loading…
Reference in a new issue