Update vaultwarden-update.sh

This commit is contained in:
tteckster 2022-08-23 09:04:51 -04:00 committed by GitHub
parent f15190ebd4
commit bedb9f650c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
VAULT=$(curl -s https://api.github.com/repos/dani-garcia/vaultwarden/releases/latest \ VAULT=$(curl -s https://api.github.com/repos/dani-garcia/vaultwarden/releases/latest \
| grep "tag_name" \ | grep "tag_name" \
| awk '{print substr($2, 2, length($2)-3) }') \ | awk '{print substr($2, 2, length($2)-3) }')
RD=`echo "\033[01;31m"` RD=`echo "\033[01;31m"`
BL=`echo "\033[36m"` BL=`echo "\033[36m"`