diff options
author | P. J. McDermott <pj@pehjota.net> | 2015-09-06 12:05:50 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2015-09-06 12:05:50 (EDT) |
commit | 1ad7e33963d583ab7c56652c169e52980b4f89c0 (patch) | |
tree | e8a10f93e4240dc079b838aec24d5cd5b9b2d1d7 /pciids-full.pkg/postinst | |
parent | 89ddced317d10a923f02b3f59c0c55cd0f3fbc38 (diff) |
Manage pci.ids.gz with update-alternatives
This way, the pciids-* packages can be coinstalled.
Diffstat (limited to 'pciids-full.pkg/postinst')
-rw-r--r-- | pciids-full.pkg/postinst | 6 |
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 |