mirror of
https://github.com/YunoHost-Apps/kimai2_ynh.git
synced 2024-09-03 19:26:26 +02:00
Bollean error
This commit is contained in:
parent
8354bae677
commit
7966771e6a
1 changed files with 6 additions and 2 deletions
|
@ -121,14 +121,18 @@ email=$(ynh_user_get_info $admin 'mail')
|
|||
# COPY LOCAL.YAML
|
||||
sudo cp ../conf/local.yaml $final_path/config/packages/local.yaml
|
||||
|
||||
if [ $registration -eq 1 ]; then
|
||||
if [ $registration -eq 1 ]
|
||||
then
|
||||
|
||||
# MODIFY LOCAL.YAML
|
||||
ynh_replace_string "__REGISTRATION__" "true" "$final_path/config/packages/local.yaml"
|
||||
fi
|
||||
|
||||
elif [ $registration -eq 0 ]; then
|
||||
if [ $registration -eq 0 ]
|
||||
then
|
||||
# MODIFY LOCAL.YAML
|
||||
ynh_replace_string "__REGISTRATION__" "false" "$final_path/config/packages/local.yaml"
|
||||
fi
|
||||
|
||||
# CHECK WHICH DATABASE TO USE
|
||||
if [ "$database" = "mysql" ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue