From 9fe5df655de21f446f31b3707b68ac6ce95b5295 Mon Sep 17 00:00:00 2001 From: Jeremy Kaplan Date: Mon, 8 Jul 2024 14:14:54 -0400 Subject: [PATCH] bin: Unpack archive in aur helper --- bin/aur | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/aur b/bin/aur index 4e624a3..5162733 100755 --- a/bin/aur +++ b/bin/aur @@ -2,4 +2,8 @@ set -exuo pipefail -curl "https://aur.archlinux.org/cgit/aur.git/snapshot/$1.tar.gz" -o "$1.tar.gz" +TAR="$1.tar.gz" + +curl "https://aur.archlinux.org/cgit/aur.git/snapshot/$1.tar.gz" -o "${TAR}" +tar zxvf "${TAR}" +rm "${TAR}"