diff options
author | Giancarlo Razzolini <grazzolini@archlinux.org> | 2019-10-07 04:39:04 +0200 |
---|---|---|
committer | Giancarlo Razzolini <grazzolini@archlinux.org> | 2019-10-07 04:39:04 +0200 |
commit | f1e756f78d0e87d422abe6b3bcd5bff61442cc2b (patch) | |
tree | 1949aa1c3d245fee42313a7e8337930c1e5fc7e9 | |
parent | 6b7427861b923560c10184ba92df2e7cc13ac258 (diff) | |
download | mkinitcpio-f1e756f78d0e87d422abe6b3bcd5bff61442cc2b.tar.gz mkinitcpio-f1e756f78d0e87d422abe6b3bcd5bff61442cc2b.tar.xz |
Split the hookdir var creation and also add the hookdir option to the optparser.
-rwxr-xr-x | mkinitcpio | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -14,7 +14,8 @@ _f_functions=functions _f_config=mkinitcpio.conf _d_hooks="$PWD/hooks:/usr/lib/initcpio/hooks:/lib/initcpio/hooks" _d_install="$PWD/install:/usr/lib/initcpio/install:/lib/initcpio/install" -_d_flag_{hooks,install}= +_d_flag_hooks= +_d_flag_install= _d_firmware=({/usr,}/lib/firmware/updates {/usr,}/lib/firmware) _d_presets=mkinitcpio.d @@ -316,8 +317,8 @@ process_preset() ( trap 'cleanup 130' INT trap 'cleanup 143' TERM -_opt_short='A:c:g:H:hk:nLMPp:r:S:sd:t:Vvz:' -_opt_long=('add:' 'addhooks:' 'config:' 'generate:' 'hookhelp:' 'help' +_opt_short='A:c:D:g:H:hk:nLMPp:r:S:sd:t:Vvz:' +_opt_long=('add:' 'addhooks:' 'config:' 'generate:' 'hookdir': 'hookhelp:' 'help' 'kernel:' 'listhooks' 'automods' 'moduleroot:' 'nocolor' 'allpresets' 'preset:' 'skiphooks:' 'save' 'generatedir:' 'builddir:' 'version' 'verbose' 'compress:') |