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:
parent
08654d428a
commit
91ba9a0cfd
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue