Commit bcdcd2d2133fd4a6c758660693686276cb5f1506

Authored by Alexis Gavoty
1 parent 41ef9e43a9
Exists in master

Update install

Showing 1 changed file with 5 additions and 0 deletions Side-by-side Diff

... ... @@ -5,6 +5,11 @@ domain=$1
5 5 path=$2
6 6 admin_passwd=$3
7 7  
  8 +if [ "$admin_passwd" = "" ]; then
  9 + echo "Wrong password"
  10 + exit 1
  11 +fi
  12 +
8 13 # Check domain/path availability
9 14 sudo yunohost app checkurl $domain$path -a owncloud
10 15 if [[ ! $? -eq 0 ]]; then