All official hooks have been using build() for quite some time now. Signed-off-by: Dave Reisner <dreisner@archlinux.org> --- mkinitcpio | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-) diff --git a/mkinitcpio b/mkinitcpio index 54b39d9..677f608 100755 --- a/mkinitcpio +++ b/mkinitcpio @@ -321,13 +321,7 @@ for hook in ${HOOKS}; do if [[ -r "${INSTDIR}/${hook}" ]]; then . "${INSTDIR}/${hook}" msg2 "Parsing hook: [%s]" "$hook" - if [[ $(type -t install) = 'function' ]]; then - warning "Hook '%s' uses a deprecated 'install' function. This should be renamed 'build'" "$hook" - install - unset install - else - build - fi + build parse_hook else error "Hook '$hook' can not be found." -- 1.7.8.4