mirror of
https://github.com/YunoHost-Apps/friendica_ynh.git
synced 2024-09-03 18:36:14 +02:00
fix url
This commit is contained in:
parent
a579c20bfe
commit
58945a020c
1 changed files with 3 additions and 1 deletions
|
@ -76,10 +76,12 @@ pushd "$install_dir"
|
||||||
# Import Composer dependencies
|
# Import Composer dependencies
|
||||||
ynh_exec_as "$app" php$phpversion bin/composer.phar install --no-dev --quiet
|
ynh_exec_as "$app" php$phpversion bin/composer.phar install --no-dev --quiet
|
||||||
|
|
||||||
|
path_without_trailing_slash=${path%/}
|
||||||
|
|
||||||
# Install application
|
# Install application
|
||||||
ynh_exec_as "$app" php$phpversion bin/console.php autoinstall\
|
ynh_exec_as "$app" php$phpversion bin/console.php autoinstall\
|
||||||
--dbhost "localhost" --dbdata "$db_name" --dbuser "$db_user" --dbpass "$db_pwd"\
|
--dbhost "localhost" --dbdata "$db_name" --dbuser "$db_user" --dbpass "$db_pwd"\
|
||||||
--admin "$email" --tz "$timezone" --lang "$language" --url "https://$domain$path"
|
--admin "$email" --tz "$timezone" --lang "$language" --url "https://$domain$path_without_trailing_slash"
|
||||||
|
|
||||||
# Enable LDAP Auth addon
|
# Enable LDAP Auth addon
|
||||||
ynh_exec_as "$app" php$phpversion bin/console.php addon enable ldapauth
|
ynh_exec_as "$app" php$phpversion bin/console.php addon enable ldapauth
|
||||||
|
|
Loading…
Add table
Reference in a new issue