From 33a575dfe12784c8b7b66e5c9cca5684a5f48bb3 Mon Sep 17 00:00:00 2001 From: Gredin67 <35761345+Gredin67@users.noreply.github.com> Date: Wed, 15 Apr 2020 22:47:55 +0200 Subject: [PATCH] golang-1.11 --- scripts/install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index d2ae054..c84f3fc 100755 --- a/scripts/install +++ b/scripts/install @@ -135,12 +135,12 @@ ynh_install_app_dependencies $pkg_dependencies # INSTALL GO #================================================= -type /usr/lib/go/bin/go > /dev/null || { +type /usr/lib/golang-1.11/bin > /dev/null || { ynh_script_progression --message="Installing go..." --time --weight=1 wget https://dl.google.com/go/go$GO_VERSION.linux-$architecture.tar.gz -q tar -C /usr/lib -xzf go$GO_VERSION.linux-$architecture.tar.gz } -export PATH=$PATH:/usr/lib/go/bin +export PATH=$PATH:/usr/lib/golang-1.11/bin #================================================= # CREATE A POSTGRESQL DATABASE @@ -295,7 +295,7 @@ ynh_replace_string --match_string="@admin:example.com" --replace_string="$botadm # Make app public if necessary if [ $is_public -eq 1 ] then -ynh_replace_string --match_string="example.com" --replace_string="domain" --target_file="$final_path/config.yaml" +ynh_replace_string --match_string="example.com" --replace_string="$domain" --target_file="$final_path/config.yaml" else ynh_replace_string --match_string="example.com" --replace_string="$botusers" --target_file="$final_path/config.yaml" fi