summaryrefslogtreecommitdiffstats
path: root/debian/pciutils.postinst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 18:30:57 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 18:30:57 +0000
commitee91363e6620c0bdc9dcb31c02266905fca09b49 (patch)
treea2d7872eef98e1e124d65eb7789d8de07da1cc82 /debian/pciutils.postinst
parentAdding upstream version 1:3.11.1. (diff)
downloadpciutils-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.postinst')
-rw-r--r--debian/pciutils.postinst23
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/pciutils.postinst b/debian/pciutils.postinst
new file mode 100644
index 0000000..99f7143
--- /dev/null
+++ b/debian/pciutils.postinst
@@ -0,0 +1,23 @@
+#!/bin/sh
+# postinst script for pciutils
+
+set -e
+
+case "$1" in
+configure)
+ for ext in new neww old
+ do
+ rm -f $DPKG_ROOT/usr/share/misc/pci.ids.$ext
+ done
+ ;;
+abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+*)
+ echo "postinst called with unknown argument '$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0