1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dokuwiki_ynh.git synced 2024-09-03 18:26:20 +02:00

Merge pull request #90 from YunoHost-Apps/testing

testing
This commit is contained in:
yalh76 2022-06-04 01:08:18 +02:00 committed by GitHub
commit f45c459b28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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