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

Jan de Groot jgc at archlinux.org
Wed Aug 5 07:40:21 UTC 2009


    Date: Wednesday, August 5, 2009 @ 03:40:21
  Author: jgc
Revision: 49242

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

Modified:
  ndiswrapper/trunk/ndiswrapper.install

---------------------+
 ndiswrapper.install |   11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

Modified: ndiswrapper.install
===================================================================
--- ndiswrapper.install	2009-08-05 07:38:45 UTC (rev 49241)
+++ ndiswrapper.install	2009-08-05 07:40:21 UTC (rev 49242)
@@ -3,7 +3,7 @@
 {
   ndiswrapper -m
   KERNEL_VERSION='2.6.30-ARCH'
-  depmod -ae -v $KERNEL_VERSION > /dev/null 2>&1 
+  depmod -ae $KERNEL_VERSION > /dev/null 2>&1 
 }
 
 # arg 1:  the new package version
@@ -12,17 +12,12 @@
 {
   ndiswrapper -m
   KERNEL_VERSION='2.6.30-ARCH'
-  depmod -ae -v $KERNEL_VERSION > /dev/null 2>&1 
+  depmod -ae $KERNEL_VERSION > /dev/null 2>&1 
 }
 
 # arg 1:  the old package version
 post_remove()
 {
   KERNEL_VERSION='2.6.30-ARCH'
-  depmod -ae -v $KERNEL_VERSION > /dev/null 2>&1
+  depmod -ae $KERNEL_VERSION > /dev/null 2>&1
 }
-
-op=$1
-shift
-
-$op $*




More information about the arch-commits mailing list