From 9ddd8198ee63ee43e93fd2fa830a53c62c3e57a6 Mon Sep 17 00:00:00 2001 From: Jason Streifling Date: Sun, 18 Aug 2024 17:03:31 +0200 Subject: [PATCH] Use /tmp directory for downloading .tar.gz archive --- update.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/update.sh b/update.sh index 513eb71..4c39d52 100755 --- a/update.sh +++ b/update.sh @@ -13,9 +13,9 @@ SYSTEMD_USER_DIR=$HOME/.config/systemd/user rm -fr $CPOLIS_PATH latest_release=$(curl -s $CPOLIS_REPO_URL | jq -r '.[0].tag_name') -curl -Lo cpolis.tar.gz https://git.streifling.com/jason/cpolis/archive/$latest_release.tar.gz -tar -xzf cpolis.tar.gz -C $CPOLIS_PATH -rm cpolis.tar.gz +curl -Lo /tmp/cpolis.tar.gz https://git.streifling.com/jason/cpolis/archive/$latest_release.tar.gz +tar -xzf /tmp/cpolis.tar.gz -C $CPOLIS_PATH +rm /tmp/cpolis.tar.gz curl -s $TAILWINDCSS_REPO_URL | grep -F browser_download_url |