From 1515012cecb12f8911faa6c8dcb3fe0f2f2acce9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Wed, 10 Jul 2024 09:51:30 +0200 Subject: [PATCH] Remove legacy workaround --- scripts/install | 4 +--- scripts/upgrade | 3 --- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/install b/scripts/install index 5811cdd..80877e5 100644 --- a/scripts/install +++ b/scripts/install @@ -23,6 +23,7 @@ ynh_app_setting_set --app="$app" --key=fpm_usage --value="$fpm_usage" #================================================= ynh_script_progression --message="Configuring $app's PostgreSQL database..." +# FIXME: is it actually required? ynh_psql_execute_as_root --database="$db_name" --sql="CREATE EXTENSION IF NOT EXISTS unaccent;" ynh_psql_execute_as_root --database="$db_name" --sql="CREATE EXTENSION IF NOT EXISTS pg_trgm;" @@ -34,9 +35,6 @@ ynh_script_progression --message="Setting up source files..." # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" -# Temporary workaround to fix movim.ERROR: Error: Call to undefined function GuzzleHttp\Psr7\uri_for() -ynh_replace_string --match_string="0.3.5" --replace_string="0.4.1" --target_file="$install_dir/composer.json" - chmod -R o-rwx "$install_dir" chown -R "$app:www-data" "$install_dir" diff --git a/scripts/upgrade b/scripts/upgrade index b41fa4f..24fc478 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -45,9 +45,6 @@ ynh_script_progression --message="Upgrading source files..." # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="config/db.inc.php" -# Temporary workaround to fix movim.ERROR: Error: Call to undefined function GuzzleHttp\Psr7\uri_for() -ynh_replace_string --match_string="0.3.5" --replace_string="0.4.1" --target_file="$install_dir/composer.json" - chmod -R o-rwx "$install_dir" chown -R "$app:www-data" "$install_dir"