From 900e69d645ca39444b363bbfe7bcf977897092e6 Mon Sep 17 00:00:00 2001 From: Krakinou Date: Sun, 6 Jun 2021 14:24:55 +0200 Subject: [PATCH] Delete multimedia link before deleting sources --- scripts/remove | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/scripts/remove b/scripts/remove index 3cb7fe7..4c65a58 100755 --- a/scripts/remove +++ b/scripts/remove @@ -39,14 +39,6 @@ ynh_remove_app_dependencies ynh_secure_remove --file="/etc/cron.d/$app" -#================================================= -# REMOVE APP MAIN DIR -#================================================= -ynh_script_progression --message="Removing app main directory..." --weight=1 - -# Remove the app directory securely -ynh_secure_remove --file="$final_path" - #================================================= # REMOVE MULTIMEDIA SYMBOLIC LINK #================================================= @@ -55,6 +47,13 @@ ynh_script_progression --message="Removing Game folder..." --weight=1 # Remove the app directory securely ynh_secure_remove --file="/home/yunohost.multimedia/share/Game" +#================================================= +# REMOVE APP MAIN DIR +#================================================= +ynh_script_progression --message="Removing app main directory..." --weight=1 + +# Remove the app directory securely +ynh_secure_remove --file="$final_path" #================================================= # REMOVE NGINX CONFIGURATION