[ewg] [PATCH] uninstall.sh in ofed_1_4_scripts

Aleksey Senin alekseys at voltaire.com
Sun Nov 16 06:29:27 PST 2008


This is a fix for bug 1390 
https://bugs.openfabrics.org/show_bug.cgi?id=1390

>From 3bf17a58a180dd981e265b27037021a296b64816 Mon Sep 17 00:00:00 2001
From: Aleksey Senin <alekseys at voltaire.com>
Date: Sun, 16 Nov 2008 16:25:00 +0200
Subject: [PATCH] Redirect output to /dev/null when erasing openmpi packages


Signed-off-by: Aleksey Senin <alekseys at voltaire.com>

:100755 100755 7ca0b6d... 3215e48... M	uninstall.sh

diff --git a/uninstall.sh b/uninstall.sh
index 7ca0b6d..3215e48 100755
--- a/uninstall.sh
+++ b/uninstall.sh
@@ -211,7 +211,7 @@ uninstall()
                 ompi_packs_to_remove="$ompi_packs_to_remove ${mpi_name}"	
             fi
         done   
-        ex "$RPM -e --allmatches $ompi_packs_to_remove" 
+        ex "$RPM -e --allmatches $ompi_packs_to_remove > /dev/null 2>&1" 
     fi
 
     MPI_SELECTOR_LIST=$(rpm -qa | grep ${MPI_SELECTOR_NAME})
-- 
1.5.6.dirty


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Redirect-output-to-dev-null-when-erasing-openmpi-pa.patch
Type: application/mbox
Size: 809 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/ewg/attachments/20081116/1b70f537/attachment.mbox>


More information about the ewg mailing list