bin: Unpack archive in aur helper
This commit is contained in:
parent
85215d9f96
commit
9fe5df655d
1 changed files with 5 additions and 1 deletions
6
bin/aur
6
bin/aur
|
|
@ -2,4 +2,8 @@
|
||||||
|
|
||||||
set -exuo pipefail
|
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}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue