summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-07-01 14:22:41 +0200
committerDave Reisner <dreisner@archlinux.org>2011-07-01 21:52:24 +0200
commitf7ce8941ea55af8f2268575441030728be82d266 (patch)
tree18a55a1f94874c37857ba37e416af032c065f8b0
parent2a61a03293b2c2f79f81b792e006d5523a6f7678 (diff)
downloadmkinitcpio-f7ce8941ea55af8f2268575441030728be82d266.tar.gz
mkinitcpio-f7ce8941ea55af8f2268575441030728be82d266.tar.xz
lsinitcpio: append, not overwrite found hooks
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rwxr-xr-xlsinitcpio2
1 files changed, 1 insertions, 1 deletions
diff --git a/lsinitcpio b/lsinitcpio
index 55061aa..5799b39 100755
--- a/lsinitcpio
+++ b/lsinitcpio
@@ -98,7 +98,7 @@ if (( analyze )); then
. <(decomp "$image" | bsdtar xOf - config)
explicitmod=($MODULES)
for hook in $HOOKS; do
- in_array "$hook" "${foundhooks[@]}" && hooks=("$hook")
+ in_array "$hook" "${foundhooks[@]}" && hooks+=("$hook")
done
# print results