From 6081c375fbac904703c450387e1599942839743c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Lebleu?= Date: Wed, 4 May 2016 19:13:43 +0200 Subject: [PATCH] [fix] Swith to ynh_die helper in install script --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 0b76731..867a41c 100644 --- a/scripts/install +++ b/scripts/install @@ -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."