From f4f63d6b2a1ca39fce2794ecfc7bdc2734e3a688 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 3 Sep 2021 19:41:15 +0200 Subject: [PATCH] Add libraries --- scripts/_common.sh | 2 +- scripts/install | 1 - scripts/upgrade | 9 --------- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 399627f..16e3696 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -6,7 +6,7 @@ YNH_PHP_VERSION="7.3" -extra_php_dependencies="php${YNH_PHP_VERSION}-cli" +extra_php_dependencies="php${YNH_PHP_VERSION}-cli php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-curl" #================================================= # PERSONAL HELPERS diff --git a/scripts/install b/scripts/install index f7b27a8..672fd30 100644 --- a/scripts/install +++ b/scripts/install @@ -116,7 +116,6 @@ ynh_script_progression --message="Configuring AgenDAV..." --weight=2 # Generate random encryption key encryptkey=$(ynh_string_random --length=24) - ynh_app_setting_set --app=$app --key=encryptkey --value="$encryptkey" # Copy and set AgenDAV configuration diff --git a/scripts/upgrade b/scripts/upgrade index 3053783..506a167 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -34,15 +34,6 @@ upgrade_type=$(ynh_check_app_version_changed) #================================================= ynh_script_progression --message="Ensuring downward compatibility..." -# Fix is_public as a boolean value -if [ "$is_public" = "Yes" ]; then - ynh_app_setting_set --app=$app --key=is_public --value=1 - is_public=1 -elif [ "$is_public" = "No" ]; then - ynh_app_setting_set --app=$app --key=is_public --value=0 - is_public=0 -fi - # If db_name doesn't exist, create it if [ -z "$db_name" ]; then db_name=$(ynh_sanitize_dbid --db_name=$app)