1
0
Fork 0
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:
lapineige 2023-12-31 16:52:28 +01:00 committed by GitHub
parent b36285ec0f
commit 8020d9fd0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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