From 2056163958df254ae8a3d2f5bd60909e79e7c9dc Mon Sep 17 00:00:00 2001 From: Galettofraise Date: Wed, 23 Feb 2022 16:36:54 +0100 Subject: [PATCH 1/3] [fix] Add --purge --- scripts/remove | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/scripts/remove b/scripts/remove index b73d2ba..61a040b 100755 --- a/scripts/remove +++ b/scripts/remove @@ -60,6 +60,16 @@ ynh_remove_app_dependencies # Remove the app directory securely ynh_script_progression --message="Removing $final_path..." --weight=1 ynh_secure_remove --file="$final_path" +#================================================= +# REMOVE DATA DIR +#================================================= + +# Remove the data directory if --purge option is used +if [ "${YNH_APP_PURGE:-0}" -eq 1 ] +then + ynh_script_progression --message="Removing app data directory..." --time --weight=1 + ynh_secure_remove --file="$calibre_dir" +fi #================================================= # REMOVE NGINX CONFIGURATION From db17a62108fa03aa83704cfe623758b6bd70b5db Mon Sep 17 00:00:00 2001 From: "ljf (zamentur)" Date: Thu, 24 Feb 2022 15:34:36 +0100 Subject: [PATCH 2/3] Add new line --- scripts/remove | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/remove b/scripts/remove index 61a040b..20e5597 100755 --- a/scripts/remove +++ b/scripts/remove @@ -60,6 +60,7 @@ ynh_remove_app_dependencies # Remove the app directory securely ynh_script_progression --message="Removing $final_path..." --weight=1 ynh_secure_remove --file="$final_path" + #================================================= # REMOVE DATA DIR #================================================= From da4c54ed413783e88960589f4415c6e7f29a05d7 Mon Sep 17 00:00:00 2001 From: Krakinou Date: Mon, 28 Feb 2022 21:41:43 +0100 Subject: [PATCH 3/3] ynh1 to ynh2 --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 97786d4..0179e67 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Browsing, reading and downloading eBooks using a Calibre database", "fr": "Explorer, lire et télécharger des eBooks à partir d'une base de données Calibre" }, - "version": "0.96.16~ynh1", + "version": "0.96.16~ynh2", "url": "https://github.com/janeczku/calibre-web", "upstream": { "version": "0.6.16",