Use /tmp directory for downloading .tar.gz archive

This commit is contained in:
Jason Streifling 2024-08-18 17:03:31 +02:00
parent ff6c7a66d7
commit 9ddd8198ee

View File

@ -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 |