1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

Ignore checkurl seulement pour la racine

This commit is contained in:
Maniack Crudelis 2016-11-17 20:14:11 +01:00 committed by GitHub
parent 6b53e6a3af
commit 2ce529b78c

View file

@ -18,9 +18,11 @@ path=$(ynh_app_setting_get "$app" path)
dbpass=$(ynh_app_setting_get "$app" mysqlpwd)
# TODO: Check domain/path availability with app helper
# Temporarily commented, see https://dev.yunohost.org/issues/593
#sudo yunohost app checkurl "${domain}${path}" -a "$app" \
# || ynh_die "The path ${domain}${path} is not available for app installation."
# Temporarily conditioned, see https://dev.yunohost.org/issues/593
if [ ${#path} -gt 1 ]; then
sudo yunohost app checkurl "${domain}${path}" -a "$app" \
|| ynh_die "The path ${domain}${path} is not available for app installation."
fi
# Check destination directory
DESTDIR="/var/www/$app"