1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dolibarr_ynh.git synced 2024-09-03 18:35:53 +02:00

Modified upgrade script start to be compliant with generic script

This commit is contained in:
Olivier BILHAUT 2018-02-02 17:06:03 +01:00 committed by Jeff
parent 4aa0e92160
commit d8a23d3ebe

View file

@ -17,6 +17,9 @@ source ./_extrahelpers # Really needed ?
app=$YNH_APP_INSTANCE_NAME app=$YNH_APP_INSTANCE_NAME
version=$(cat ../sources/version) version=$(cat ../sources/version)
# Exit if an error occurs during the execution of the script
ynh_abort_if_errors
# Retrieve app settings # Retrieve app settings
domain=$(ynh_app_setting_get "$app" domain) domain=$(ynh_app_setting_get "$app" domain)
path=$(ynh_app_setting_get "$app" path) path=$(ynh_app_setting_get "$app" path)