summaryrefslogtreecommitdiffstats
path: root/pciids-reduced.pkg/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'pciids-reduced.pkg/postinst')
-rw-r--r--pciids-reduced.pkg/postinst6
1 files changed, 6 insertions, 0 deletions
diff --git a/pciids-reduced.pkg/postinst b/pciids-reduced.pkg/postinst
new file mode 100644
index 0000000..14a6298
--- /dev/null
+++ b/pciids-reduced.pkg/postinst
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+if [ "x${1}" = 'xconfigure' ]; then
+ update-alternatives --install /usr/share/misc/pci.ids.gz pci.ids \
+ /usr/share/misc/pci.ids.reduced.gz 10
+fi