summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-05-06 02:16:11 +0200
committerDave Reisner <dreisner@archlinux.org>2012-05-06 02:16:11 +0200
commit8ea4ce10558afa2f83efd755e81e11058df83d51 (patch)
tree043e772b957b35c70afa7b17539ba3d7baa588da
parent1b3808e2b940985173675502bba0044c624945ce (diff)
downloadrepo-tools-8ea4ce10558afa2f83efd755e81e11058df83d51.tar.gz
repo-tools-8ea4ce10558afa2f83efd755e81e11058df83d51.tar.xz
createlinks: skip non-compiled packages
-rwxr-xr-xcreatelinks4
1 files changed, 4 insertions, 0 deletions
diff --git a/createlinks b/createlinks
index 1295093..f254e5b 100755
--- a/createlinks
+++ b/createlinks
@@ -53,8 +53,12 @@ generate_links() {
# create file lists
for pkg in "$target/$repodir"/*.pkg.tar.?z; do
+ # not a file or symlink to file
[[ -f $pkg ]] || continue
+ # skip -any packages
+ [[ $pkg = *-any.pkg.tar.?z ]] && continue
+
create_file_list "$pkg"
if (( $? != 0 )); then
cached=false