From 0d955b1f5f21967fb9b80b7ecb9455a2f8391f3d Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 06 Sep 2015 12:39:50 -0400 Subject: Manage lspci with update-alternatives --- (limited to 'pciutils.pkg/postinst') 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 -- cgit v0.9.1