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