From 1a735e874cad87d408e1bad8083989d4c184debb Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sat, 4 Feb 2023 19:02:27 +0100 Subject: [PATCH] Load psql_version in _common.sh --- scripts/_common.sh | 1 + scripts/change_url | 2 -- scripts/install | 2 -- scripts/upgrade | 2 -- 4 files changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 7ab456c..a8f18f8 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -8,6 +8,7 @@ pkg_dependencies="postgresql postgresql-contrib" GO_VERSION="1.18" +psql_version=$PSQL_VERSION #================================================= # PERSONAL HELPERS diff --git a/scripts/change_url b/scripts/change_url index ffd08b0..334bd88 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -127,8 +127,6 @@ fi #================================================= ynh_script_progression --message="Updating systemd configuration..." --weight=1 -psql_version=$PSQL_VERSION - # Create a dedicated systemd config ynh_add_systemd_config diff --git a/scripts/install b/scripts/install index ace39c9..c5e3d25 100644 --- a/scripts/install +++ b/scripts/install @@ -182,8 +182,6 @@ chown $app:$app "$final_path/dendrite.yaml" #================================================= ynh_script_progression --message="Configuring a systemd service..." --weight=1 -psql_version=$PSQL_VERSION - # Create a dedicated systemd config ynh_add_systemd_config diff --git a/scripts/upgrade b/scripts/upgrade index 928a84b..4715f07 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -194,8 +194,6 @@ chown $app:$app "$final_path/dendrite.yaml" #================================================= ynh_script_progression --message="Upgrading systemd configuration..." --weight=1 -psql_version=$PSQL_VERSION - # Create a dedicated systemd config ynh_add_systemd_config