From 8f6a76e2ec1dbf32927a648ac0e546a70dcba1cb Mon Sep 17 00:00:00 2001 From: liangzhen Date: Mon, 16 May 2005 18:33:00 +0000 Subject: [PATCH] Small fix for OS X uninstall script --- build/osxpack/uninstall_lustre | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/build/osxpack/uninstall_lustre b/build/osxpack/uninstall_lustre index b3eed8c..aa0f02c 100755 --- a/build/osxpack/uninstall_lustre +++ b/build/osxpack/uninstall_lustre @@ -76,17 +76,11 @@ count=`grep "SystemBackup" /tmp/lustre-v|wc -l` count=`expr $count - 1` if [ $count -gt 0 ]; then head -$count /tmp/lustre-v > $backpath/lustre-current - rm -f /tmp/lustre-v else # The file should be empty now, it's the last uninstall rm -f $backpath/lustre-current - rm -f /tmp/lustre-v - if [ $count -ne 0 ]; then - # no backup version in the lustre-current file - echo "No backup information anymore, installation is likely failed!" - exit 4 - fi fi +rm -f /tmp/lustre-v # remove unused files echo "uninstall lustre modules and utilities......" -- 1.8.3.1