1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/baikal_ynh.git synced 2024-09-03 18:16:11 +02:00

[fix] Swith to ynh_die helper in install script

This commit is contained in:
Jérôme Lebleu 2016-05-04 19:13:43 +02:00
parent 1252a08d63
commit 6081c375fb

View file

@ -21,7 +21,7 @@ sudo yunohost app checkurl "${domain}${path}" -a "$app" \
# Check destination directory
DESTDIR="/var/www/${app}"
[[ -d "$DESTDIR" ]] && die \
[[ -d "$DESTDIR" ]] && ynh_die \
"The destination directory '${DESTDIR}' already exists.\
You should safely delete it before installing this app."