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