mirror of
https://github.com/YunoHost-Apps/firefly-iii_ynh.git
synced 2024-09-03 18:36:13 +02:00
Make sure $update exists before upgrading
This commit is contained in:
parent
b467fd9d8c
commit
5b722e8811
1 changed files with 6 additions and 0 deletions
|
@ -71,6 +71,12 @@ if ynh_legacy_permissions_exists; then
|
||||||
ynh_app_setting_delete --app=$app --key=is_public
|
ynh_app_setting_delete --app=$app --key=is_public
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# If update doesn't exist, create it
|
||||||
|
if [ -z "$update" ]; then
|
||||||
|
update=1
|
||||||
|
ynh_app_setting_set --app=$app --key=update --value=$update
|
||||||
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CREATE DEDICATED USER
|
# CREATE DEDICATED USER
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue