From 4dd4a926ab1de57f2897cd59bbc02b9c46edbe6e Mon Sep 17 00:00:00 2001 From: schiz0phr3ne <22858496+schiz0phr3ne@users.noreply.github.com> Date: Sun, 10 Jul 2022 17:51:12 +0200 Subject: [PATCH] Delete tarball after update --- misc/vaultwarden-update.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/misc/vaultwarden-update.sh b/misc/vaultwarden-update.sh index 3f918c61..1a5e7a7d 100644 --- a/misc/vaultwarden-update.sh +++ b/misc/vaultwarden-update.sh @@ -42,6 +42,9 @@ else tar -zxf bw_web_$VWRELEASE.tar.gz -C /opt/vaultwarden/ &>/dev/null fi +echo -e "${GN} Cleaning up... ${CL}" +rm bw_web_$VWRELEASE.tar.gz + echo -e "${GN} Starting Vaultwarden... ${CL}" systemctl start vaultwarden.service sleep 1