From ce7bd7e1eea13429cf013233e6af8e75befbeda2 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Wed, 9 Oct 2019 16:18:37 +0200 Subject: [PATCH] More accurate test to check the existence of the link --- ynh-dev | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ynh-dev b/ynh-dev index bb9fa3b..65a665d 100755 --- a/ynh-dev +++ b/ynh-dev @@ -152,7 +152,7 @@ function attach_ynhdev() # # The target folders (/var/cache/ynh-dev/...) are then created during the # './ynh-dev use-git yunohost-admin' - if [[ ! -e ./yunohost-admin/src/dist ]] + if [[ ! -L ./yunohost-admin/src/dist ]] then ln -s /var/cache/ynh-dev/yunohost-admin/bower_components ./yunohost-admin/src/ ln -s /var/cache/ynh-dev/yunohost-admin/node_modules ./yunohost-admin/src/