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

A little bit too quick...

This commit is contained in:
Maniack Crudelis 2017-12-19 18:16:52 +01:00 committed by GitHub
parent 2548d2dfe0
commit 517a45a64f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,10 +25,10 @@ final_path=$(ynh_app_setting_get $app final_path)
#=================================================
# Fix is_public as a boolean value
if [ "$is_public,," = "yes" ]; then
if [ "${is_public,,}" = "yes" ]; then
ynh_app_setting_set $app is_public 1
is_public=1
elif [ "$is_public,," = "no" ]; then
elif [ "${is_public,,}" = "no" ]; then
ynh_app_setting_set $app is_public 0
is_public=0
fi