summaryrefslogtreecommitdiffstats
path: root/debian/pciutils.postinst
diff options
context:
space:
mode:
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