summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/aur2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aur b/src/aur
index 24d4317..f90a776 100755
--- a/src/aur
+++ b/src/aur
@@ -56,7 +56,7 @@ for _pkg in ${@}; do
fi
msg "Downloading $_pkg..."
- wget -O - -q https://aur.archlinux.org/packages/$(echo $_pkg | sed "s/^../&\/&/")/$_pkg.tar.gz | \
+ wget -O - -q https://aur.archlinux.org/packages/${_pkg:0:2}/${_pkg}/$_pkg.tar.gz | \
tar xzf - >/dev/null 2>&1
if [ $? -ne 0 ]; then