summaryrefslogtreecommitdiff
path: root/aur
diff options
context:
space:
mode:
Diffstat (limited to 'aur')
-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