0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00

fix: use test + mkdir for strict dir check

This commit is contained in:
Ikiru Yoshizaki 2019-08-14 23:38:34 +09:00
parent 342d284568
commit 9006146a59

View file

@ -159,7 +159,7 @@ Resources:
mount -a -t efs defaults
# Create/update the config & password files.
mkdir "$BASE/conf" -p
[[ -d "$BASE/conf" ]] || mkdir "$BASE/conf"
curl -o "$BASE/conf/htpasswd" "${VerdaccioHtpasswdUrl}"
curl -o "$BASE/conf/config.yaml" "${VerdaccioConfigUrl}"