mirror of
https://github.com/YunoHost-Apps/dotclear2_ynh.git
synced 2024-09-03 18:26:29 +02:00
Fix #7
This commit is contained in:
parent
fc19d4c6fb
commit
f1b394a139
1 changed files with 4 additions and 3 deletions
|
@ -6,9 +6,10 @@ domain=$1
|
|||
path=$2
|
||||
|
||||
# Check domain/path availability asap
|
||||
sudo yunohost app checkurl $domain$path -a $app
|
||||
if [[ ! $? -eq 0 ]]; then
|
||||
echo "This $domain$path is already in use, installation canceled"
|
||||
check=`sudo yunohost app checkurl $domain$path -a $app`
|
||||
if [ ! $? -eq 0 ]
|
||||
then
|
||||
echo $check
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue