summaryrefslogtreecommitdiffstats
path: root/pciids-full.pkg/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'pciids-full.pkg/postinst')
-rw-r--r--pciids-full.pkg/postinst6
1 files changed, 6 insertions, 0 deletions
diff --git a/pciids-full.pkg/postinst b/pciids-full.pkg/postinst
new file mode 100644
index 0000000..c4d992f
--- /dev/null
+++ b/pciids-full.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.full.gz 20
+fi