summaryrefslogtreecommitdiffstats
path: root/pciutils.pkg/prerm
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2015-09-06 12:39:50 (EDT)
committer P. J. McDermott <pj@pehjota.net>2015-09-06 12:43:22 (EDT)
commit0d955b1f5f21967fb9b80b7ecb9455a2f8391f3d (patch)
tree065bd99094c2b1a1b7ed25a2ad37ec5f646eca1d /pciutils.pkg/prerm
parent55b9c5e5dd730cdd88a192ce1533a98db7d7d3f7 (diff)
Manage lspci with update-alternatives
Diffstat (limited to 'pciutils.pkg/prerm')
-rw-r--r--pciutils.pkg/prerm5
1 files changed, 5 insertions, 0 deletions
diff --git a/pciutils.pkg/prerm b/pciutils.pkg/prerm
new file mode 100644
index 0000000..94877d1
--- /dev/null
+++ b/pciutils.pkg/prerm
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if [ "x${1}" = 'xremove' ]; then
+ update-alternatives --remove lspci /usr/bin/lspci.pciutils
+fi