diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-03-03 19:36:13 +0100 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-03-04 17:59:39 +0100 |
commit | 7b8e68af09e20fd95656b8909f4fc027440c1c30 (patch) | |
tree | a4b7d605767e46198c5ea470ee28c8bdbb4d032a /install/shutdown | |
parent | 57e275a08d46f976ab2a2edf9b7b507bbca1d1ca (diff) | |
download | mkinitcpio-7b8e68af09e20fd95656b8909f4fc027440c1c30.tar.gz mkinitcpio-7b8e68af09e20fd95656b8909f4fc027440c1c30.tar.xz |
add support for HOOKDIR/INSTDIR as arrays
This is a really ugly patch, but allows mkinitcpio to read hooks from
multiple locations, namely:
/usr/lib/initcpio/{install,hooks}
/lib/initcpio/{install,hooks}
Preference is given to the first, and all files included with mkinitcpio
are moved there.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'install/shutdown')
-rw-r--r-- | install/shutdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install/shutdown b/install/shutdown index 7c6b7bc..5b56f17 100644 --- a/install/shutdown +++ b/install/shutdown @@ -4,7 +4,7 @@ build() { BINARIES='cp' SCRIPT='shutdown' - add_file "/lib/initcpio/shutdown" "/shutdown" + add_file "/usr/lib/initcpio/shutdown" "/shutdown" } help() { |