|
|
@@ -4,12 +4,12 @@
|
|
|
# Exit on command errors and treat unset variables as an error
|
|
|
set -eu
|
|
|
|
|
|
-# The parameter $2 is the id of the app instance ex: ynhexample__2
|
|
|
-app=$YNH_APP_INSTANCE_NAME
|
|
|
-
|
|
|
# Source app helpers
|
|
|
source /usr/share/yunohost/helpers
|
|
|
|
|
|
+# The parameter $2 is the id of the app instance ex: ynhexample__2
|
|
|
+app=$YNH_APP_INSTANCE_NAME
|
|
|
+
|
|
|
# Get old parameter of the app
|
|
|
domain=$(ynh_app_setting_get $app domain)
|
|
|
path=$(ynh_app_setting_get $app path)
|