mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-24 21:15:51 +01:00
fix: use test + mkdir for strict dir check
This commit is contained in:
parent
342d284568
commit
9006146a59
@ -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 New Issue
Block a user