1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wordpress_ynh.git synced 2024-09-03 20:36:10 +02:00

Update install

This commit is contained in:
Alexis Gavoty 2013-12-07 17:15:23 +01:00
parent d1a6b15bd1
commit c0bf9ca743

View file

@ -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