diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-07-01 14:22:41 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2011-07-01 21:52:24 +0200 |
commit | f7ce8941ea55af8f2268575441030728be82d266 (patch) | |
tree | 18a55a1f94874c37857ba37e416af032c065f8b0 | |
parent | 2a61a03293b2c2f79f81b792e006d5523a6f7678 (diff) | |
download | mkinitcpio-f7ce8941ea55af8f2268575441030728be82d266.tar.gz mkinitcpio-f7ce8941ea55af8f2268575441030728be82d266.tar.xz |
lsinitcpio: append, not overwrite found hooks
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rwxr-xr-x | lsinitcpio | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |