From 9ae2797a7a3d3a94abc4d8033285cb2cc9fe3398 Mon Sep 17 00:00:00 2001 From: anmol26s <5068843+anmol26s@users.noreply.github.com> Date: Sun, 5 Apr 2020 17:05:20 +0530 Subject: [PATCH] updated to the version 2.4.8 --- README.md | 2 +- check_process | 15 +++------------ conf/app.src | 4 ++-- manifest.json | 2 +- scripts/_common.sh | 2 +- scripts/install | 2 +- scripts/remove | 4 ---- scripts/upgrade | 4 ++++ 8 files changed, 13 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 98691cc..09da381 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![Install halcyon with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=halcyon)

-Version: **2.4.5** +Version: **2.4.8**
### Interesting links diff --git a/check_process b/check_process index e9e5af4..5ecb740 100644 --- a/check_process +++ b/check_process @@ -22,19 +22,10 @@ # incorrect_path=1 port_already_use=0 change_url=0 -;;; Levels - Level 1=auto - Level 2=auto - Level 3=auto -# Level 4: If the app supports LDAP and SSOwat, turn level 4 to '1' and add a link to an issue or a part of your code to show it. -# If the app does not use LDAP nor SSOwat, and can't use them, turn level 4 to 'na' and explain as well. - Level 4=na +;; Levels + # If the level 5 (Package linter) is forced to 1. Please add justifications here. Level 5=auto - Level 6=auto - Level 7=auto - Level 8=0 - Level 9=0 - Level 10=0 +;;; Options ;;; Options Email=anmol@datamol.org Notification=change diff --git a/conf/app.src b/conf/app.src index fecf08b..aa59415 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://notabug.org/halcyon-suite/halcyon/archive/2.4.5.tar.gz -SOURCE_SUM=67e152ba3fe8a55b15d28b6ae69cc00124d335ba11318bad095093316a5f682b +SOURCE_URL=https://notabug.org/halcyon-suite/halcyon/archive/2.4.8.tar.gz +SOURCE_SUM=22083d13bb4a349cac888a09bd7f046e9984281d78e793e1342aafe397e38ec6 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/manifest.json b/manifest.json index 8d37bbe..a9d5d65 100644 --- a/manifest.json +++ b/manifest.json @@ -5,7 +5,7 @@ "description": { "en": "A webclient for Mastodon and Pleroma which looks like Twitter." }, - "version": "2.4.5~ynh1", + "version": "2.4.8~ynh1", "url": "https://notabug.org/halcyon-suite/halcyon", "license": "AGPL-3.0-only", "maintainer": { diff --git a/scripts/_common.sh b/scripts/_common.sh index 4c405ed..68ac3fa 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -5,4 +5,4 @@ #================================================= # dependencies used by the app -pkg_dependencies="php-intl php-mbstring php-curl" +pkg_dependencies="php-intl php-mbstring php-curl php-json php-gettext" diff --git a/scripts/install b/scripts/install index aa61804..3ac5e3f 100755 --- a/scripts/install +++ b/scripts/install @@ -45,7 +45,7 @@ app=$YNH_APP_INSTANCE_NAME #================================================= # CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS #================================================= -## About --weight and --time +### About --weight and --time ### ynh_script_progression will show to your final users the progression of each scripts. ### In order to do that, --weight will represent the relative time of execution compared to the other steps in the script. ### --time is a packager option, it will show you the execution time since the previous call. diff --git a/scripts/remove b/scripts/remove index 5596b19..b553ff2 100755 --- a/scripts/remove +++ b/scripts/remove @@ -22,11 +22,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) #================================================= # STANDARD REMOVE #================================================= -# REMOVE DEPENDENCIES -#================================================= -# Remove metapackage and its dependencies -ynh_remove_app_dependencies #================================================= # REMOVE DEPENDENCIES diff --git a/scripts/upgrade b/scripts/upgrade index 609d219..7e738cd 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -127,6 +127,10 @@ ynh_system_user_create $app # ... #================================================= +#================================================= +# STORE THE CONFIG FILE CHECKSUM +#================================================= + ### Verify the checksum of a file, stored by `ynh_store_file_checksum` in the install script. ### And create a backup of this file if the checksum is different. So the file will be backed up if the admin had modified it. ynh_backup_if_checksum_is_different --file="$final_path/config/config.ini"