summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-11-05 16:39:24 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-11-05 16:39:24 -0300
commit78a5a4d9c6b6010d4064614e5d5a095bf54fddee (patch)
tree5c736145c5760a42b3b9aa1923b98a89b43f8998
parent83dd1498e580510023b63611bb25feedd3699b8c (diff)
Follow new tarball placement
-rwxr-xr-xaur2
1 files changed, 1 insertions, 1 deletions
diff --git a/aur b/aur
index b96cb20..24d4317 100755
--- a/aur
+++ b/aur
@@ -56,7 +56,7 @@ for _pkg in ${@}; do
fi
msg "Downloading $_pkg..."
- wget -O - -q https://aur.archlinux.org/packages/$_pkg/$_pkg.tar.gz | \
+ wget -O - -q https://aur.archlinux.org/packages/$(echo $_pkg | sed "s/^../&\/&/")/$_pkg.tar.gz | \
tar xzf - >/dev/null 2>&1
if [ $? -ne 0 ]; then