From c0bf9ca7435aa61933a2c8760dd8e4936b5ecfdf Mon Sep 17 00:00:00 2001 From: Alexis Gavoty Date: Sat, 7 Dec 2013 17:15:23 +0100 Subject: [PATCH] Update install --- scripts/install | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/install b/scripts/install index 6fef299..1fae77e 100755 --- a/scripts/install +++ b/scripts/install @@ -7,6 +7,12 @@ admin_passwd=$3 language=$4 is_public=$5 +# Check if admin password is not null +if [ "$admin_passwd" = "" ]; then +echo "Wrong password" + exit 1 +fi + # Check domain/path availability sudo yunohost app checkurl $domain$path -a wordpress if [[ ! $? -eq 0 ]]; then