From ee9412dbcc1deb117af39990c3e777bc0994bb70 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sun, 5 Jun 2011 12:06:31 -0400 Subject: mkinitcpio: deprecate install() in install hooks This is an unfortunate name clash with a common utility and should be avoided. Rename the install function to 'build' and warn the user when we discover a hook using an 'install' function. Signed-off-by: Dave Reisner --- install/usbinput | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install/usbinput') diff --git a/install/usbinput b/install/usbinput index 0d293ae..a90cd15 100644 --- a/install/usbinput +++ b/install/usbinput @@ -1,6 +1,6 @@ # vim: set ft=sh: -install () +build() { MODULES=" $(checked_modules "/usb/host" | grep -ve "_cs" -e "sl811-hcd" -e "isp116x-hcd") " MODULES=" $(echo ${MODULES}) $(all_modules "/hid/hid-") " -- cgit v1.2.3-24-g4f1b