From 9b0a89c4c359af58207cb1336695efbcd40f523e Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 28 May 2022 08:24:08 +0200 Subject: [PATCH] 2.0.37 --- conf/amd64.src | 4 ++-- conf/arm64.src | 4 ++-- conf/armhf.src | 4 ++-- manifest.json | 2 +- scripts/_common.sh | 2 +- scripts/install | 4 +--- scripts/upgrade | 3 +-- 7 files changed, 10 insertions(+), 13 deletions(-) diff --git a/conf/amd64.src b/conf/amd64.src index fc8c0bd..4e09a4d 100644 --- a/conf/amd64.src +++ b/conf/amd64.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/miniflux/v2/releases/download/2.0.36/miniflux-linux-amd64 -SOURCE_SUM=77e5a0e219a0cc2a7f856165757944681a9ebb39474e24cb8d0ad0c2c1502742 +SOURCE_URL=https://github.com/miniflux/v2/releases/download/2.0.37/miniflux-linux-amd64 +SOURCE_SUM=d4f6e63cbeca895181e1c47180c70a75a0dedb636ed2a558d44dc26260557cba SOURCE_SUM_PRG=sha256sum SOURCE_IN_SUBDIR=false SOURCE_FILENAME=miniflux diff --git a/conf/arm64.src b/conf/arm64.src index 102cd2b..e767ffa 100644 --- a/conf/arm64.src +++ b/conf/arm64.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/miniflux/v2/releases/download/2.0.36/miniflux-linux-arm64 -SOURCE_SUM=95ace98c8413a099c2ed97a6e9c13db81e8769ddf522b6d5a1bf95c197a6d992 +SOURCE_URL=https://github.com/miniflux/v2/releases/download/2.0.37/miniflux-linux-arm64 +SOURCE_SUM=a7958b9fec7d0819af6ee7b8459a3c842dc86db6b65c12b2d5426a57d0e3cd3c SOURCE_SUM_PRG=sha256sum SOURCE_IN_SUBDIR=false SOURCE_FILENAME=miniflux diff --git a/conf/armhf.src b/conf/armhf.src index 566a8bb..6816c96 100644 --- a/conf/armhf.src +++ b/conf/armhf.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/miniflux/v2/releases/download/2.0.36/miniflux-linux-armv7 -SOURCE_SUM=db6f983294658f4d68961300dd3c6bee26a051c396968611f3852bd41d08ba24 +SOURCE_URL=https://github.com/miniflux/v2/releases/download/2.0.37/miniflux-linux-armv7 +SOURCE_SUM=1d300a4a60eace0fc2cd4c2efc00632451db53f3d1c21fe93a28c5002c45dcd2 SOURCE_SUM_PRG=sha256sum SOURCE_IN_SUBDIR=false SOURCE_FILENAME=miniflux diff --git a/manifest.json b/manifest.json index b7ce722..967d895 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Minimalist and opinionated RSS feed reader", "fr": "Agrégateur de flux RSS minimaliste" }, - "version": "2.0.36~ynh1", + "version": "2.0.37~ynh1", "url": "https://miniflux.app/", "upstream": { "license": "Apache-2.0", diff --git a/scripts/_common.sh b/scripts/_common.sh index 52491aa..91f698b 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -5,7 +5,7 @@ #================================================= # dependencies used by the app -pkg_dependencies="postgresql apt-transport-https" +pkg_dependencies="postgresql" #================================================= # PERSONAL HELPERS diff --git a/scripts/install b/scripts/install index 3e98d1d..1e8c1d9 100644 --- a/scripts/install +++ b/scripts/install @@ -23,7 +23,6 @@ ynh_abort_if_errors domain=$YNH_APP_ARG_DOMAIN path_url=$YNH_APP_ARG_PATH is_public=$YNH_APP_ARG_IS_PUBLIC -architecture=$YNH_ARCH password=$YNH_APP_ARG_PASSWORD admin=$YNH_APP_ARG_ADMIN @@ -49,7 +48,6 @@ ynh_app_setting_set --app=$app --key=domain --value=$domain ynh_app_setting_set --app=$app --key=path --value=$path_url ynh_app_setting_set --app=$app --key=admin --value=$admin ynh_app_setting_set --app=$app --key=password --value=$password -ynh_app_setting_set --app=$app --key=architecture --value=$architecture #================================================= # STANDARD MODIFICATIONS @@ -96,7 +94,7 @@ ynh_script_progression --message="Setting up source files..." --weight=1 ynh_app_setting_set --app=$app --key=final_path --value=$final_path # Download, check integrity, uncompress and patch the source from app.src -ynh_setup_source --dest_dir="$final_path" --source_id="$architecture" +ynh_setup_source --dest_dir="$final_path" --source_id=$YNH_ARCH chmod 750 "$final_path" chmod -R o-rwx "$final_path" diff --git a/scripts/upgrade b/scripts/upgrade index 8fe5a72..fdb5cd1 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -20,7 +20,6 @@ domain=$(ynh_app_setting_get --app=$app --key=domain) path_url=$(ynh_app_setting_get --app=$app --key=path) final_path=$(ynh_app_setting_get --app=$app --key=final_path) port=$(ynh_app_setting_get --app=$app --key=port) -architecture=$YNH_ARCH db_name=$(ynh_app_setting_get --app=$app --key=db_name) db_user=$db_name db_pwd=$(ynh_app_setting_get --app=$app --key=psqlpwd) @@ -84,7 +83,7 @@ then ynh_script_progression --message="Upgrading source files..." --weight=5 # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir=$final_path --source_id="$architecture" --keep="$final_path/$app.conf" + ynh_setup_source --dest_dir=$final_path --source_id=$YNH_ARCH --keep="$final_path/$app.conf" fi chmod 750 "$final_path"