|
|
@ -7,6 +7,12 @@ admin_passwd=$3 |
|
|
language=$4 |
|
|
language=$4 |
|
|
is_public=$5 |
|
|
is_public=$5 |
|
|
|
|
|
|
|
|
|
|
|
# Check if admin password is not null |
|
|
|
|
|
if [ "$admin_passwd" = "" ]; then |
|
|
|
|
|
echo "Wrong password" |
|
|
|
|
|
exit 1 |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
# Check domain/path availability |
|
|
# Check domain/path availability |
|
|
sudo yunohost app checkurl $domain$path -a wordpress |
|
|
sudo yunohost app checkurl $domain$path -a wordpress |
|
|
if [[ ! $? -eq 0 ]]; then |
|
|
if [[ ! $? -eq 0 ]]; then |
|
|
|