From: Vladimir Sokolovsky Date: Mon, 2 Jun 2008 12:15:56 +0000 (+0300) Subject: Uninstall mlnx_en package if exist. X-Git-Tag: vofed-1.3.1~1 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=c165b6c6b254eb65be1ec8e2b3a59ed5e44ec31b;p=~emulex%2Fofed_scripts%2F.git Uninstall mlnx_en package if exist. Signed-off-by: Vladimir Sokolovsky --- diff --git a/install.pl b/install.pl index e533be7..34a13d0 100755 --- a/install.pl +++ b/install.pl @@ -3628,6 +3628,9 @@ sub uninstall my $sig = 0; my $cnt = 0; print BLUE "Uninstalling the previous version of $PACKAGE", RESET "\n" if (not $quiet); + if ( -f "/sbin/mlnx_en_uninstall.sh" ) { + system("yes | /sbin/mlnx_en_uninstall.sh > $ofedlogs/mlnx_en_uninstall.log 2>&1"); + } system("yes | ofed_uninstall.sh > $ofedlogs/ofed_uninstall.log 2>&1"); $res = $? >> 8; $sig = $? & 127;