mirror of
https://github.com/YunoHost-Apps/minetest_ynh.git
synced 2024-09-03 20:36:00 +02:00
Update upgrade
This commit is contained in:
parent
7c7b18a666
commit
59ce175497
1 changed files with 6 additions and 0 deletions
|
@ -46,6 +46,12 @@ if [ -z $final_path ]; then
|
|||
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
||||
fi
|
||||
|
||||
# If domain doesn't exist, create it
|
||||
if [ -z "$domain" ]; then
|
||||
domain=$server_domain
|
||||
ynh_app_setting_set --app=$app --key=domain --value=$domain
|
||||
fi
|
||||
|
||||
# Cleaning legacy permissions
|
||||
if ynh_legacy_permissions_exists; then
|
||||
ynh_legacy_permissions_delete_all
|
||||
|
|
Loading…
Reference in a new issue