From 47970df1b952b74831cdebd4132e6a3e5181bd8a Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Sun, 11 Feb 2024 22:08:30 +0100 Subject: [PATCH] no need for the path variable --- scripts/install | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 8619778..611f8da 100644 --- a/scripts/install +++ b/scripts/install @@ -76,12 +76,10 @@ pushd "$install_dir" # Import Composer dependencies ynh_exec_as "$app" php$phpversion bin/composer.phar install --no-dev --quiet - path_without_trailing_slash=${path%/} - # Install application ynh_exec_as "$app" php$phpversion bin/console.php autoinstall\ --dbhost "localhost" --dbdata "$db_name" --dbuser "$db_user" --dbpass "$db_pwd"\ - --admin "$email" --tz "$timezone" --lang "$language" --url "https://$domain$path_without_trailing_slash" + --admin "$email" --tz "$timezone" --lang "$language" --url "https://$domain" # Enable LDAP Auth addon ynh_exec_as "$app" php$phpversion bin/console.php addon enable ldapauth