From 8ea4ce10558afa2f83efd755e81e11058df83d51 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sat, 5 May 2012 20:16:11 -0400 Subject: createlinks: skip non-compiled packages --- createlinks | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3-24-g4f1b