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:
parent
d1a6b15bd1
commit
c0bf9ca743
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue