mirror of
https://github.com/YunoHost-Apps/yeswiki_ynh.git
synced 2024-09-03 18:05:56 +02:00
Fix missing quotes around config param value
This commit is contained in:
parent
93dca9c3eb
commit
f597cef147
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ ynh_setup_source --dest_dir="$install_dir/tools/yunohost" --source_id="yunohostp
|
||||||
# Add config at the end of wakka.config.php
|
# Add config at the end of wakka.config.php
|
||||||
ynh_replace_string --match_string=");" --replace_string=" 'dataSources' => [\n'yunohost-cli' => [\n'formId' => '5', // form id used in local bazar\n'lang' => 'fr',\n'importer' => 'YunohostCLIApp', // importer class name (without Importer suffix)\n],\n],\n);" --target_file="$install_dir/wakka.config.php"
|
ynh_replace_string --match_string=");" --replace_string=" 'dataSources' => [\n'yunohost-cli' => [\n'formId' => '5', // form id used in local bazar\n'lang' => 'fr',\n'importer' => 'YunohostCLIApp', // importer class name (without Importer suffix)\n],\n],\n);" --target_file="$install_dir/wakka.config.php"
|
||||||
SSO_DOMAIN=$(yunohost domain main-domain | sed -e 's/.*: //')
|
SSO_DOMAIN=$(yunohost domain main-domain | sed -e 's/.*: //')
|
||||||
ynh_replace_string --match_string=");" --replace_string=" 'yunohost_sso_domain' => ${SSO_DOMAIN},\n);" --target_file="$install_dir/wakka.config.php"
|
ynh_replace_string --match_string=");" --replace_string=" 'yunohost_sso_domain' => '${SSO_DOMAIN}',\n);" --target_file="$install_dir/wakka.config.php"
|
||||||
|
|
||||||
# Ensure that scripts are executable
|
# Ensure that scripts are executable
|
||||||
chmod +x $install_dir/tools/yunohost/private/scripts/*.sh
|
chmod +x $install_dir/tools/yunohost/private/scripts/*.sh
|
||||||
|
|
Loading…
Reference in a new issue