From 0d962490c549f7e473ecb8166990fc09b37bfb54 Mon Sep 17 00:00:00 2001 From: Krakinou Date: Fri, 28 Dec 2018 11:30:37 +0100 Subject: [PATCH] Move to 0.91~ynh2 Update check Process for more tests Update install and upgrade script --- README.md | 6 +++--- check_process | 4 ++-- manifest.json | 2 +- scripts/install | 2 +- scripts/upgrade | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 102d7fb..f6d22a3 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ chmod o+rw path/to/library Developers info ---------------- -Please do your pull request to the [testing branch](https://github.com/Krakinou/calibreweb_ynh/tree/Testing). +Please do your pull request to the [testing branch](https://github.com/Yunohost-Apps/calibreweb_ynh/tree/Testing). To try the testing branch, please proceed like that. ``` @@ -65,8 +65,8 @@ sudo yunohost app upgrade calibreweb -u https://github.com/Yunohost-Apps/calibre ## Todo - [ ] Multiinstance - [ ] Better Multimedia integration : Integrate in Yunohost.multimedia -- [ ] Package_check integration -- [ ] On backup/remove/upgrade : check for database location to update settings +- [X] Package_check integration +- [X] On backup/remove/upgrade : check for database location to update settings ## LICENSE diff --git a/check_process b/check_process index 1a6fd4b..62b145a 100644 --- a/check_process +++ b/check_process @@ -56,7 +56,7 @@ Email= Notification=none ;;; Upgrade options ; commit=3b9c5041e4fa73cb965368379f2b83d076c65341 - name=Name of this previous version - manifest_arg=domain=DOMAIN&path=PATH&admin=USER&password=pass&is_public=0& + name=First in progress release of the app 0.9~ynh2 + manifest_arg=domain=DOMAIN&path=PATH&admin=USER& \ No newline at end of file diff --git a/manifest.json b/manifest.json index 3c5c5a4..2e24832 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Calibre-web for Yunohost", "fr": "Calibre-web pour Yunohost" }, - "version": "0.9~ynh1", + "version": "0.91~ynh2", "url": "https://github.com/janeczku/calibre-web", "license": "free", "maintainer": { diff --git a/scripts/install b/scripts/install index 1b251ac..90853c0 100755 --- a/scripts/install +++ b/scripts/install @@ -76,7 +76,7 @@ ynh_app_setting_set $app port $port #================================================= ynh_app_setting_set $app final_path $final_path -ynh_print_info "Copying data to $final_path" +ynh_print_info "Downloading sources to $final_path" # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source "$final_path" diff --git a/scripts/upgrade b/scripts/upgrade index 1dcb7e8..9ad5b57 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -127,7 +127,7 @@ fi #================================================= #This line of code is just used to caused an error in upgrade to be tested by package_check if [ -e /tmp/upgrade_error ]; then - exit 1 + ynh_die fi #=================================================