[arch-commits] Commit in hwd/trunk (hwd.install)
Thayer Williams
thayer at archlinux.org
Thu Nov 13 20:00:44 UTC 2008
Date: Thursday, November 13, 2008 @ 15:00:43
Author: thayer
Revision: 19009
.install cleanup
Modified:
hwd/trunk/hwd.install
-------------+
hwd.install | 21 +++------------------
1 file changed, 3 insertions(+), 18 deletions(-)
Modified: hwd.install
===================================================================
--- hwd.install 2008-11-13 19:41:26 UTC (rev 19008)
+++ hwd.install 2008-11-13 20:00:43 UTC (rev 19009)
@@ -1,30 +1,15 @@
# arg 1: the new package version
post_install() {
-echo ""
-echo "lshwd dependency is replaced by pciutils and usbutils."
-echo ""
-echo "Run 'hwd -u' to update xorgtable, pci-, and usb.ids."
-echo ""
+ echo "==> Run 'hwd -u' to update xorgtable, pci-, and usb.ids."
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
- /bin/true
-echo ""
-echo "lshwd dependency is replaced by pciutils and usbutils."
-echo ""
-echo "Run 'hwd -u' to update xorgtable, pci-, and usb.ids."
-echo ""
-
+ echo "==> Run 'hwd -u' to update xorgtable, pci-, and usb.ids."
}
# arg 1: the old package version
pre_remove() {
- rm -R /etc/hwd >/dev/null 2>&1
+ rm -R /etc/hwd >/dev/null 2>&1
}
-
-op=$1
-shift
-
-$op $*
More information about the arch-commits
mailing list