summaryrefslogtreecommitdiffstats
path: root/lsinitcpio
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-12-26 19:57:30 +0100
committerDave Reisner <dreisner@archlinux.org>2011-12-26 19:57:30 +0100
commitd3de95de5060ad276fb474b679373fb19c224cc4 (patch)
treefdcc9d7007585ecc1a4ccf7b1204581755d7c04a /lsinitcpio
parent5b7eb9389e6c13132ba2ab8cd845e82f746979f1 (diff)
downloadmkinitcpio-d3de95de5060ad276fb474b679373fb19c224cc4.tar.gz
mkinitcpio-d3de95de5060ad276fb474b679373fb19c224cc4.tar.xz
lsinitcpio: remove duplicate in_array function
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'lsinitcpio')
-rwxr-xr-xlsinitcpio9
1 files changed, 0 insertions, 9 deletions
diff --git a/lsinitcpio b/lsinitcpio
index aa27e71..37d2764 100755
--- a/lsinitcpio
+++ b/lsinitcpio
@@ -27,15 +27,6 @@ USAGE
exit 1
}
-in_array() {
- local item needle=$1; shift
-
- for item; do
- [[ "$item" == $needle ]] && return 0 # Found
- done
- return 1 # Not Found
-}
-
decomp() {
${compress:-cat} ${compress:+-cd} "$@"
}