1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cops_ynh.git synced 2024-09-03 18:25:57 +02:00

Use non deprecated helper

This commit is contained in:
vick 2018-06-19 15:42:41 +02:00
parent 56d9b50094
commit 35d2aeeb86
2 changed files with 3 additions and 2 deletions

View file

@ -44,7 +44,8 @@ CHECK_PATH () { # Vérifie la présence du / en début de path. Et son absence
# Check domain and path availibility
CHECK_DOMAINPATH () { # Vérifie la disponibilité du path et du domaine.
sudo yunohost app checkurl $domain$path -a $app
ynh_webpath_available $domain $path
ynh_webpath_register $app $domain $path
}
# Check destination folder is not used already

View file

@ -66,7 +66,7 @@ fi
# Remove app dependencies
if ynh_package_is_installed "cops-deps"; then
ynh_package_autoremove "cops-deps"
ynh_remove_app_dependencies
fi
# Remove the user account~