From 71391ecd843c132db36e612c6821c53bc548dd92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment?= Date: Mon, 13 Feb 2017 22:30:35 +0100 Subject: [PATCH] need to load common before using its content --- scripts/install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 429abd1..8d0510e 100755 --- a/scripts/install +++ b/scripts/install @@ -3,6 +3,9 @@ # Exit on command errors and treat unset variables as an error set -eu +# Load common variables and helpers +. ./_common.sh + # Retrieve arguments domain=$1 path=$2 @@ -12,9 +15,6 @@ app=$APPNAME db_user=$app db_name=$app -# Load common variables and helpers -. ./_common.sh - # Source app helpers . /usr/share/yunohost/helpers