diff options
author | P. J. McDermott <pj@pehjota.net> | 2014-11-09 23:32:28 (EST) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2014-11-09 23:32:28 (EST) |
commit | d7587b1bd30780e37675ac5bc0c4acd8b79fce36 (patch) | |
tree | 49d529aec7201986e06433df19fc8e1c7ac45e7c /linux-image.pkg/preinst | |
parent | e6f6c8611500e0e75d831d6ba3a397124d131bf4 (diff) |
linux-image: Run preinst hooks
Diffstat (limited to 'linux-image.pkg/preinst')
-rw-r--r-- | linux-image.pkg/preinst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/linux-image.pkg/preinst b/linux-image.pkg/preinst new file mode 100644 index 0000000..2275fb7 --- /dev/null +++ b/linux-image.pkg/preinst @@ -0,0 +1,12 @@ +#!/bin/sh + +first=true +for arg in "${@}"; do + if ${first}; then + set -- + first=false + fi + set -- "${@}" -a "${arg}" +done + +run-parts "${@}" /etc/kernel/preinst.d |