Update vaultwarden-update.sh

This commit is contained in:
tteckster 2022-07-17 15:24:14 -04:00 committed by GitHub
parent b387e6c63c
commit 471c575943
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
VAULT=$(curl -s https://api.github.com/repos/dani-garcia/vaultwarden/releases/latest \
| grep "tag_name" \
| awk '{print substr($2, 2, length($2)-3) }') \