mirror of
https://github.com/YunoHost-Apps/yeswiki_ynh.git
synced 2024-09-03 18:05:56 +02:00
fix test that is checking if config param exists
This commit is contained in:
parent
a49bd2ed42
commit
c454e9bcbc
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ chmod +x /etc/yunohost/hooks.d/post_app_install/${app}_sync_app_importer.sh
|
|||
|
||||
# ToDo : Add app importer config in wakka.config.php if it is not already there ?
|
||||
|
||||
if [ $(grep yunohost_sso_domain "$install_dir/wakka.config.php") = "0" ]; then
|
||||
if [ $(grep yunohost_sso_domain "$install_dir/wakka.config.php" | wc -l) = "0" ]; then
|
||||
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"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue