From bcdcd2d2133fd4a6c758660693686276cb5f1506 Mon Sep 17 00:00:00 2001 From: Alexis Gavoty Date: Sat, 7 Dec 2013 15:45:15 +0100 Subject: [PATCH] Update install --- scripts/install | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/install b/scripts/install index 42013db..a76dce9 100755 --- a/scripts/install +++ b/scripts/install @@ -5,6 +5,11 @@ domain=$1 path=$2 admin_passwd=$3 +if [ "$admin_passwd" = "" ]; then + echo "Wrong password" + exit 1 +fi + # Check domain/path availability sudo yunohost app checkurl $domain$path -a owncloud if [[ ! $? -eq 0 ]]; then -- 2.0.0