diff --git a/scripts/install b/scripts/install index 7619fc2..e8dc0eb 100755 --- a/scripts/install +++ b/scripts/install @@ -3,6 +3,12 @@ # Exit on command errors and treat unset variables as an error set -eu +# IMPORT GENERIC HELPERS +#================================================= + +source _common.sh +source /usr/share/yunohost/helpers + app=$YUNOHOST_APP_INSTANCE_NAME # Retrieve arguments @@ -13,8 +19,6 @@ is_public=$YUNOHOST_APP_ARG_IS_PUBLIC ynh_app_setting_set "$app" is_public "$is_public" -# Source YunoHost helpers -source /usr/share/yunohost/helpers # Check domain/path availability sudo yunohost app checkurl $domain -a "$app" \