From e1f4f4b436667e218ee18ec484d866a3da74eb8d Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 11 Mar 2023 09:50:42 -0500 Subject: [PATCH] Update alpine-vaultwarden-v5-install.sh --- install/alpine-vaultwarden-v5-install.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/install/alpine-vaultwarden-v5-install.sh b/install/alpine-vaultwarden-v5-install.sh index 83deed2d..5d28238a 100644 --- a/install/alpine-vaultwarden-v5-install.sh +++ b/install/alpine-vaultwarden-v5-install.sh @@ -93,7 +93,7 @@ set -e trap 'error_handler $LINENO "$BASH_COMMAND"' ERR msg_info "Updating Container OS" -$STD apk update +$STD apk update -a $STD apk upgrade msg_ok "Updated Container OS" @@ -119,14 +119,6 @@ $STD rc-service vaultwarden start $STD rc-update add vaultwarden default msg_ok "Installed Vaultwarden" -msg_info "Downloading Web-Vault" -WEBVAULT=$(curl -s https://api.github.com/repos/dani-garcia/bw_web_builds/releases/latest | - grep "tag_name" | - awk '{print substr($2, 2, length($2)-3) }') -$STD curl -fsSLO https://github.com/dani-garcia/bw_web_builds/releases/download/$WEBVAULT/bw_web_$WEBVAULT.tar.gz -$STD tar -xzf bw_web_$WEBVAULT.tar.gz -C /var/lib/vaultwarden/ -msg_ok "Downloaded Web-Vault" - echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd if [[ "${SSH_ROOT}" == "yes" ]]; then $STD rc-update add sshd