diff --git a/scripts/upgrade b/scripts/upgrade index d32876d..89b86a0 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -28,7 +28,7 @@ if [ -f "/usr/local/bin/backup-with-${app}" ]; then fi if [ -d "/opt/yunohost/$app" ]; then - mv "/opt/yunohost/$app/"* "/opt/yunohost/$app/".* "$install_dir" + mv "/opt/yunohost/$app/"* "$install_dir" ynh_secure_remove --file="/opt/yunohost/$app/check-restic" ynh_secure_remove --file="/opt/yunohost/$app/check_method_restic" ynh_secure_remove --file="/opt/yunohost/$app/restic_check_log_restic"