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

Update malformed path CI error

This commit is contained in:
Rafi59 2017-06-21 18:50:52 +02:00 committed by GitHub
parent b833392ded
commit d09612f8de

View file

@ -19,6 +19,12 @@ dbuser=$app
# Source app helpers
source /usr/share/yunohost/helpers
#=================================================
# CHECK IF THE APP CAN BE INSTALLED WITH THIS ARGS
#=================================================
path=$(ynh_normalize_url_path $path) # Vérifie et corrige la syntaxe du path.
# TODO: Check domain/path availability with app helper
sudo yunohost app checkurl "${domain}${path}" -a "$app" \
|| ynh_die "The path ${domain}${path} is not available for app installation."