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:
parent
342d284568
commit
9006146a59
1 changed files with 1 additions and 1 deletions
|
@ -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}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue