summaryrefslogtreecommitdiff
path: root/aur
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2012-01-21 11:12:01 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2012-01-21 11:12:01 -0300
commit918e09f1a47dc3d23440f08a91d91d31d62dcb5a (patch)
treeeffadb1e2c76d3e06975c92516647148ed9f420a /aur
parent0e9e94d70a0442e2c0aebdfb282269e90d688712 (diff)
parent971e5b7d0cd614e1be3a82380ef16911f2d9cefe (diff)
Merge branch 'master' into fauno
Conflicts: fullpkg toru
Diffstat (limited to 'aur')
-rwxr-xr-xaur6
1 files changed, 5 insertions, 1 deletions
diff --git a/aur b/aur
index ca7d587..1b17358 100755
--- a/aur
+++ b/aur
@@ -39,9 +39,13 @@ missing_deps=()
for _pkg in ${@}; do
# Remove the version
-# TODO check downloaded PKGBUILD version
_pkg="${_pkg%%[<>=]*}"
+ if [ -f "${_pkg}/PKGBUILD" ]; then
+ warning "${_pkg} already existed. skipping..."
+ continue
+ fi
+
msg "Downloading $_pkg..."
wget -O - -q http://aur.archlinux.org/packages/$_pkg/$_pkg.tar.gz | \
tar xzf - >/dev/null 2>&1