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:
parent
1252a08d63
commit
6081c375fb
1 changed files with 1 additions and 1 deletions
|
@ -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."
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue