1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/selfoss_ynh.git synced 2024-09-03 20:16:21 +02:00

Update config

This commit is contained in:
Éric Gaspar 2022-12-24 18:24:15 +01:00
parent 5a7f18dac4
commit 8477ce9c0c

View file

@ -70,11 +70,11 @@ set__free_footprint() {
ynh_app_config_validate() { ynh_app_config_validate() {
_ynh_app_config_validate _ynh_app_config_validate
if [ "${changed[fpm_usage]}" == "true" ] || [ "${changed[fpm_footprint]}" == "true" ] || [ "${changed[fpm_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 $fpm_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=$fpm_free_footprint fpm_footprint=$free_footprint
fi fi
if [ "$fpm_footprint" == "0" ] if [ "$fpm_footprint" == "0" ]