1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

Typos / suggestions from code review

Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com>
This commit is contained in:
Alexandre Aubin 2022-02-01 13:40:01 +01:00 committed by GitHub
parent 16b649fc3d
commit 47d5104504
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() {
if [ "$fpm_footprint" = "specific" ]
if [ "$fpm_footprint" == "specific" ]
then
ynh_app_setting_set --app=$app --key=fpm_footprint --value="$free_footprint"
fi
@ -72,7 +72,7 @@ ynh_app_config_validate() {
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" = "specific" ]
if [ "$fpm_footprint" == "specific" ]
then
fpm_footprint=$free_footprint
fi