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