mirror of
https://github.com/YunoHost-Apps/dolibarr_ynh.git
synced 2024-09-03 18:35:53 +02:00
Introduced helper ynh_webpath_register instead of checkurl
This commit is contained in:
parent
3fbe2c2d73
commit
76f2c79830
1 changed files with 5 additions and 2 deletions
|
@ -23,8 +23,11 @@ version=$(cat ../sources/version)
|
|||
fi
|
||||
|
||||
# Check domain/path availability
|
||||
sudo yunohost app checkurl "${domain}${path}" -a "$app" \
|
||||
|| ynh_die "path not available: ${domain}${path}"
|
||||
# sudo yunohost app checkurl "${domain}${path}" -a "$app" \
|
||||
# || ynh_die "path not available: ${domain}${path}"
|
||||
|
||||
sudo ynh_webpath_register $app $domain $path \
|
||||
|| ynh_die "path not available and may be already used : ${domain}${path}"
|
||||
|
||||
# Check user parameter
|
||||
ynh_user_exists "$admin" \
|
||||
|
|
Loading…
Add table
Reference in a new issue