[arch-commits] Commit in tiacx/trunk (acx.install)

Jan de Groot jgc at archlinux.org
Wed Aug 5 07:43:19 UTC 2009


    Date: Wednesday, August 5, 2009 @ 03:43:18
  Author: jgc
Revision: 49246

Fix FS#15794, remove -v flag, no need for it when we send the output to /dev/null

Modified:
  tiacx/trunk/acx.install

-------------+
 acx.install |   10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

Modified: acx.install
===================================================================
--- acx.install	2009-08-05 07:42:35 UTC (rev 49245)
+++ acx.install	2009-08-05 07:43:18 UTC (rev 49246)
@@ -1,23 +1,19 @@
 # arg 1:  the new package version
 post_install() {
   KERNEL_VERSION='2.6.30-ARCH'
-  depmod -v $KERNEL_VERSION > /dev/null 2>&1 
+  depmod $KERNEL_VERSION > /dev/null 2>&1 
 }
 
 # arg 1:  the new package version
 # arg 2:  the old package version
 post_upgrade() {
   KERNEL_VERSION='2.6.30-ARCH'
-  depmod -v $KERNEL_VERSION > /dev/null 2>&1	 
+  depmod $KERNEL_VERSION > /dev/null 2>&1	 
   
 }
 
 # arg 1:  the old package version
 post_remove() {
   KERNEL_VERSION='2.6.30-ARCH'
-  depmod -v $KERNEL_VERSION > /dev/null 2>&1	 
+  depmod $KERNEL_VERSION > /dev/null 2>&1	 
 }
-
-op=$1
-shift
-$op $*




More information about the arch-commits mailing list