From 63af97e1694ea39d8f44c7e1b9f078716e73b58c Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Mon, 28 Sep 2015 22:13:34 +0200 Subject: [PATCH] [enh] start install script --- scripts/install | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 scripts/install diff --git a/scripts/install b/scripts/install new file mode 100644 index 0000000..45189c3 --- /dev/null +++ b/scripts/install @@ -0,0 +1,15 @@ +set -e + +# Retrieve arguments +domain=$1 +path=$2 + +# Check domain/path availability +sudo yunohost app checkurl $domain$path -a noalyss +if [[ ! $? -eq 0 ]]; then + exit 1 +fi + +path=${path%/} + +sudo yunohost app setting dolibarr version -v "3.8.0"