1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/galene_ynh.git synced 2024-09-03 18:36:31 +02:00

Update upgrade

This commit is contained in:
ericgaspar 2021-11-16 20:12:53 +01:00
parent f894259492
commit 705864fdc6

View file

@ -62,6 +62,12 @@ then
ynh_exec_warn_less yunohost firewall disallow TCP $port
fi
# If final_path doesn't exist, create it
if [ -z "$architecture" ]; then
architecture="dpkg --print-architecture"
architecture=$(ynh_app_setting_get --app=$app --key=architecture)
fi
# If final_path doesn't exist, create it
if [ -z "$final_path" ]; then
final_path=/opt/yunohost/$app