mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
config panels: bind='' -> bind='null'
This commit is contained in:
parent
c55b96b94b
commit
74714d0a62
1 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ EOL
|
|||
old[$short_setting]="$($getter)"
|
||||
formats[${short_setting}]="yaml"
|
||||
|
||||
elif [[ "$bind" == "" ]] ; then
|
||||
elif [[ "$bind" == "null" ]] ; then
|
||||
old[$short_setting]="YNH_NULL"
|
||||
|
||||
# Get value from app settings or from another file
|
||||
|
@ -87,7 +87,7 @@ _ynh_app_config_apply() {
|
|||
if type -t $setter 2>/dev/null | grep -q '^function$' 2>/dev/null; then
|
||||
$setter
|
||||
|
||||
elif [[ "$bind" == "" ]] ; then
|
||||
elif [[ "$bind" == "null" ]] ; then
|
||||
continue
|
||||
|
||||
# Save in a file
|
||||
|
|
Loading…
Add table
Reference in a new issue