diff options
author | Dave Reisner <d@falconindy.com> | 2011-06-05 18:06:31 +0200 |
---|---|---|
committer | Dave Reisner <d@falconindy.com> | 2011-06-16 20:19:12 +0200 |
commit | ee9412dbcc1deb117af39990c3e777bc0994bb70 (patch) | |
tree | 793925a0904271f10f2572f5a260b0c248ea688f /install/autodetect | |
parent | de8365f4b60a8058ad6b649d34156f231a921b1b (diff) | |
download | mkinitcpio-ee9412dbcc1deb117af39990c3e777bc0994bb70.tar.gz mkinitcpio-ee9412dbcc1deb117af39990c3e777bc0994bb70.tar.xz |
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 <d@falconindy.com>
Diffstat (limited to 'install/autodetect')
-rw-r--r-- | install/autodetect | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install/autodetect b/install/autodetect index 70fac56..118c9a5 100644 --- a/install/autodetect +++ b/install/autodetect @@ -1,6 +1,6 @@ # vim: set ft=sh: -install () +build() { MODULE_FILE="${TMPDIR}/autodetect_modules" #blegh, we'll let /tmp clean itself up |