From 666c3b8f5d21950a93d6fca5d2e1cb0a0930e6d2 Mon Sep 17 00:00:00 2001 From: Jimmy Monin Date: Sun, 23 Jul 2023 15:22:35 +0200 Subject: [PATCH] Fix reinstall glitch --- scripts/install | 1 - scripts/remove | 3 --- 2 files changed, 4 deletions(-) diff --git a/scripts/install b/scripts/install index 16384f1..d2bd204 100644 --- a/scripts/install +++ b/scripts/install @@ -36,7 +36,6 @@ app=$YNH_APP_INSTANCE_NAME ynh_script_progression --message="Validating installation parameters..." --weight=1 final_path=/opt/$app -test ! -e "$final_path" || ynh_die --message="This path already contains a folder" # Register (book) web path ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url diff --git a/scripts/remove b/scripts/remove index 12882ef..ff975df 100644 --- a/scripts/remove +++ b/scripts/remove @@ -77,9 +77,6 @@ popd # Remove MySQL netdata user ynh_mysql_execute_as_root "drop user 'netdata'@'localhost'; flush privileges;" -# Remove main directory -ynh_secure_remove --file="$final_path" - #================================================= # END OF SCRIPT #=================================================