mirror of
https://github.com/YunoHost/ynh-dev.git
synced 2024-09-03 20:05:59 +02:00
More accurate test to check the existence of the link
This commit is contained in:
parent
f5a1860aec
commit
ce7bd7e1ee
1 changed files with 1 additions and 1 deletions
2
ynh-dev
2
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/
|
||||
|
|
Loading…
Add table
Reference in a new issue