updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / hwd / hwd.install
blob04955bfa9ad95ad5f7b1a915db79a17aa1db8429
1 # arg 1:  the new package version
2 post_install() {
3 echo ""
4 echo "lshwd dependency is replaced by pciutils and usbutils."
5 echo ""
6 echo "Run 'hwd -u' to update xorgtable, pci-, and usb.ids."
7 echo ""
10 # arg 1:  the new package version
11 # arg 2:  the old package version
12 post_upgrade() {
13   /bin/true
14 echo ""
15 echo "lshwd dependency is replaced by pciutils and usbutils."
16 echo ""
17 echo "Run 'hwd -u' to update xorgtable, pci-, and usb.ids."
18 echo ""
22 # arg 1:  the old package version
23 pre_remove() {
24   rm -R /etc/hwd >/dev/null 2>&1
27 op=$1
28 shift
30 $op $*