diff --git a/scripts/remove b/scripts/remove index a09d08f..edaa5d8 100644 --- a/scripts/remove +++ b/scripts/remove @@ -19,7 +19,6 @@ app=$YNH_APP_INSTANCE_NAME domain=$(ynh_app_setting_get --app=$app --key=domain) port=$(ynh_app_setting_get --app=$app --key=port) final_path=$(ynh_app_setting_get --app=$app --key=final_path) -config_path=$(ynh_app_setting_get --app=$app --key=config_path) #================================================= # STANDARD REMOVE @@ -55,8 +54,7 @@ ynh_remove_nodejs #================================================= ynh_script_progression --message="Removing $app main directory..." -# Remove the app directory securely -ynh_secure_remove --file="$final_path" +dpkg --remove thelounge #================================================= # REMOVE NGINX CONFIGURATION @@ -66,25 +64,6 @@ ynh_script_progression --message="Removing NGINX web server configuration..." # Remove the dedicated NGINX config ynh_remove_nginx_config -#================================================= -# SPECIFIC REMOVE -#================================================= -# REMOVE THE CONFIG FILE -#================================================= -ynh_script_progression --message="Removing the config file..." - -ynh_secure_remove --file="$config_path" - -#================================================= -# GENERIC FINALIZATION -#================================================= -# REMOVE DEDICATED USER -#================================================= -ynh_script_progression --message="Removing the dedicated system user..." - -# Delete a system user -ynh_system_user_delete --username=$app - #================================================= # END OF SCRIPT #=================================================