index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2015-05-12 23:08:22 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-05-16 14:10:42 +1000 |
commit | d38c098787ebbedb0f55742dd547a20a7362b0cb (patch) | |
tree | d9db959cf289220b8d68324969a5ffe7d4595727 /scripts/makepkg.sh.in | |
parent | 83b734a103016f08e63e03e1e803c327584e3721 (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 14 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index a6e37eef..a00e8a42 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -889,20 +889,6 @@ get_pkg_arch() { fi } -## -# usage : in_array( $needle, $haystack ) -# return : 0 - found -# 1 - not found -## -in_array() { - local needle=$1; shift - local item - for item in "$@"; do - [[ $item = "$needle" ]] && return 0 # Found - done - return 1 # Not Found -} - source_has_signatures() { local file all_sources |