fix: fix deprectaed url-parser syntax
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
8b79ed30c3
commit
7ec7bc08ce
@ -14,9 +14,9 @@ if [ -z "$VAULTWARDEN_LDAP_VAULTWARDEN_URL" ] || [ -z "$VAULTWARDEN_LDAP_HOST" ]
|
||||
fi
|
||||
|
||||
if [ -n "$VAULTWARDEN_LDAP_VAULTWARDEN_URL" ]; then
|
||||
WAITFOR_BW_SCHEME=$(/usr/local/bin/url-parser scheme --url "$VAULTWARDEN_LDAP_VAULTWARDEN_URL")
|
||||
WAITFOR_BW_HOST=$(/usr/local/bin/url-parser host --url "$VAULTWARDEN_LDAP_VAULTWARDEN_URL")
|
||||
WAITFOR_BW_PORT=$(/usr/local/bin/url-parser port --url "$VAULTWARDEN_LDAP_VAULTWARDEN_URL")
|
||||
WAITFOR_BW_SCHEME=$(/usr/local/bin/url-parser --url scheme "$VAULTWARDEN_LDAP_VAULTWARDEN_URL")
|
||||
WAITFOR_BW_HOST=$(/usr/local/bin/url-parser --url host "$VAULTWARDEN_LDAP_VAULTWARDEN_URL")
|
||||
WAITFOR_BW_PORT=$(/usr/local/bin/url-parser --url port "$VAULTWARDEN_LDAP_VAULTWARDEN_URL")
|
||||
|
||||
if [ -z "$WAITFOR_BW_PORT" ]; then
|
||||
[ "$WAITFOR_BW_SCHEME" = "https" ] && WAITFOR_BW_PORT=433 || WAITFOR_BW_PORT=80
|
||||
|
Reference in New Issue
Block a user