mirror of
https://github.com/YunoHost-Apps/dokuwiki_ynh.git
synced 2024-09-03 18:26:20 +02:00
Update config
This commit is contained in:
parent
85d65d6c92
commit
719fa4d2c1
1 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ set__fpm_footprint() {
|
||||||
}
|
}
|
||||||
|
|
||||||
set__free_footprint() {
|
set__free_footprint() {
|
||||||
if [ "$fpm_footprint" = "specific" ]
|
if [ "$fpm_footprint" == "specific" ]
|
||||||
then
|
then
|
||||||
ynh_app_setting_set --app=$app --key=fpm_footprint --value="$free_footprint"
|
ynh_app_setting_set --app=$app --key=fpm_footprint --value="$free_footprint"
|
||||||
fi
|
fi
|
||||||
|
@ -72,7 +72,7 @@ ynh_app_config_validate() {
|
||||||
|
|
||||||
if [ "${changed[fpm_usage]}" == "true" ] || [ "${changed[fpm_footprint]}" == "true" ] || [ "${changed[free_footprint]}" == "true" ]; then
|
if [ "${changed[fpm_usage]}" == "true" ] || [ "${changed[fpm_footprint]}" == "true" ] || [ "${changed[free_footprint]}" == "true" ]; then
|
||||||
# If fpm_footprint is set to 'specific', use $free_footprint value.
|
# If fpm_footprint is set to 'specific', use $free_footprint value.
|
||||||
if [ "$fpm_footprint" = "specific" ]
|
if [ "$fpm_footprint" == "specific" ]
|
||||||
then
|
then
|
||||||
fpm_footprint=$free_footprint
|
fpm_footprint=$free_footprint
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue