1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dotclear2_ynh.git synced 2024-09-03 18:26:29 +02:00
This commit is contained in:
Rémy Garrigue 2015-08-21 08:46:31 +00:00
parent fc19d4c6fb
commit f1b394a139

View file

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