diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2020-11-07 04:25:32 (EST) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2020-11-07 04:29:55 (EST) |
commit | 5dd1f6569d45a01be63ce85ae0b86cffcbae88f1 (patch) | |
tree | 31d632129034aa38d8f9f5cfa83521aa8cd1ff01 /linux-image-4.19.pkg/preinst | |
parent | 6e62f084c0d8395af4743d635297984280074321 (diff) |
Version package names
Diffstat with similarity index set to 24%:
basever.mk | 1 +
build | 25 +++++++++++++------------
changelog | 4 +++-
{linux-common.pkg => linux-common-4.19.pkg}/control | 5 +++--
{linux-common.pkg => linux-common-4.19.pkg}/docs | 0
{linux-image.pkg => linux-image-4.19.pkg}/control | 6 +++---
{linux-image.pkg => linux-image-4.19.pkg}/postinst | 0
{linux-image.pkg => linux-image-4.19.pkg}/postrm | 0
{linux-image.pkg => linux-image-4.19.pkg}/preinst | 0
{linux-image.pkg => linux-image-4.19.pkg}/prerm | 0
{linux-libc-dev.pkg => linux-libc-dev-4.19.pkg}/control | 4 ++--
{linux-libc-dev-common.pkg => linux-libc-dev-common-4.19.pkg}/control | 2 +-
{linux-sysmap.pkg => linux-sysmap-4.19.pkg}/control | 7 ++++---
setver | 17 +++++++++++++++++
substvars | 1 +
15 files changed, 48 insertions(+), 24 deletions(-)
Diffstat (limited to 'linux-image-4.19.pkg/preinst')
-rw-r--r-- | linux-image-4.19.pkg/preinst | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/linux-image-4.19.pkg/preinst b/linux-image-4.19.pkg/preinst new file mode 100644 index 0000000..881ea9b --- /dev/null +++ b/linux-image-4.19.pkg/preinst @@ -0,0 +1,18 @@ +#!/bin/sh + +# Prevent the following ENOENT warning message on new installations: +# run-parts: /etc/kernel/preinst.d: No such file or directory +if ! [ -d /etc/kernel/preinst.d ]; then + exit 0 +fi + +first=true +for arg in "${@}"; do + if ${first}; then + set -- + first=false + fi + set -- "${@}" -a "${arg}" +done + +run-parts "${@}" /etc/kernel/preinst.d |