diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-05-06 02:16:11 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-05-06 02:16:11 +0200 |
commit | 8ea4ce10558afa2f83efd755e81e11058df83d51 (patch) | |
tree | 043e772b957b35c70afa7b17539ba3d7baa588da /createlinks | |
parent | 1b3808e2b940985173675502bba0044c624945ce (diff) | |
download | repo-tools-8ea4ce10558afa2f83efd755e81e11058df83d51.tar.gz repo-tools-8ea4ce10558afa2f83efd755e81e11058df83d51.tar.xz |
createlinks: skip non-compiled packages
Diffstat (limited to 'createlinks')
-rwxr-xr-x | createlinks | 4 |
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 |