From 01b0fce8222ae3ae9b61f7c5cfe77f15c20fa903 Mon Sep 17 00:00:00 2001 From: Rafi59 Date: Fri, 9 Jun 2017 15:45:50 +0200 Subject: [PATCH] Add _common.sh --- scripts/install | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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" \