diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 18:30:57 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 18:30:57 +0000 |
commit | ee91363e6620c0bdc9dcb31c02266905fca09b49 (patch) | |
tree | a2d7872eef98e1e124d65eb7789d8de07da1cc82 /debian/pciutils.preinst | |
parent | Adding upstream version 1:3.11.1. (diff) | |
download | pciutils-ee91363e6620c0bdc9dcb31c02266905fca09b49.tar.xz pciutils-ee91363e6620c0bdc9dcb31c02266905fca09b49.zip |
Adding debian version 1:3.11.1-1.debian/1%3.11.1-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/pciutils.preinst')
-rw-r--r-- | debian/pciutils.preinst | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/pciutils.preinst b/debian/pciutils.preinst new file mode 100644 index 0000000..c72f2b5 --- /dev/null +++ b/debian/pciutils.preinst @@ -0,0 +1,23 @@ +#!/bin/sh +# preinst script for pciutils + +set -e + +case "$1" in +install|upgrade) + for ext in new neww old + do + rm -f $DPKG_ROOT/var/lib/pciutils/pci.ids.$ext + done + ;; +abort-upgrade) + ;; +*) + echo "preinst called with unknown argument '$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 |