1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dotclear2_ynh.git synced 2024-09-03 18:26:29 +02:00

Better handle missing blog_admin during upgrade

This commit is contained in:
tituspijean 2023-10-14 18:31:13 +02:00
parent 483e82edfd
commit 7ef09bdf30
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -23,7 +23,7 @@ upgrade_type=$(ynh_check_app_version_changed)
#=================================================
ynh_script_progression --message="Ensuring downward compatibility..."
if [ -z "$blog_admin" ] ||
if [ -z "${blog_admin:-}" ] ||
[ -z "$blog_contentadmin" ] ||
[ -z "$blog_usage" ] ||
[ -z "$blog_publish" ] ||