1
0
Fork 0
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:
ericgaspar 2021-04-18 11:14:11 +02:00
parent 7c7b18a666
commit 59ce175497
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -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