1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/spip_ynh.git synced 2024-09-03 20:25:59 +02:00

fix the is_public warning

This commit is contained in:
Kay0u 2022-01-03 11:23:43 +01:00
parent 08654d428a
commit 91ba9a0cfd
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D

View file

@ -59,9 +59,8 @@ ynh_abort_if_errors
#=================================================
ynh_script_progression --message="Ensuring downward compatibility..."
is_public=$(ynh_app_setting_get --app=$app --key=is_public)
# Remove is_public
if [ -n "$is_public" ]; then
if [ -n "$(ynh_app_setting_get --app=$app --key=is_public)" ]; then
ynh_app_setting_delete --app=$app --key=is_public
fi