mirror of
https://github.com/YunoHost-Apps/hubzilla_ynh.git
synced 2024-09-03 19:26:21 +02:00
Update upgrade
This commit is contained in:
parent
2666f2acb4
commit
f503649684
1 changed files with 5 additions and 0 deletions
|
@ -29,6 +29,11 @@ upgrade_type=$(ynh_check_app_version_changed)
|
|||
#=================================================
|
||||
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
|
||||
|
||||
# If random_string doesn't exist, create it
|
||||
if [ -z "$random_string" ]; then
|
||||
random_string="$(ynh_string_random --length=48)"
|
||||
ynh_app_setting_set --app=$app --key=random_string --value=$random_string
|
||||
fi
|
||||
|
||||
# If fpm_footprint doesn't exist, create it
|
||||
if [ -z "$fpm_footprint" ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue