From: Simon Wilkinson Date: Tue, 2 Feb 2010 15:47:02 +0000 (+0000) Subject: Don't echo from the InstallationCheck script X-Git-Tag: openafs-devel-1_5_72~66 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=c0724584680562330347026ee9ec72f74066bc51;p=packages%2Fo%2Fopenafs.git Don't echo from the InstallationCheck script Return codes from InstallationCheck are turned into errors by the GUI - don't echo them out to stdout as well. Change-Id: Iee9c1ff4687ea42ab8c18566493a8a92b6d51fed Reviewed-on: http://gerrit.openafs.org/1206 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/src/packaging/MacOS/InstallationCheck.10 b/src/packaging/MacOS/InstallationCheck.10 index b4774bfd2..26e98d8cb 100644 --- a/src/packaging/MacOS/InstallationCheck.10 +++ b/src/packaging/MacOS/InstallationCheck.10 @@ -2,7 +2,6 @@ majorvers=`uname -r | sed 's/\..*//'` echo "InstallationCheck: os release is $majorvers" if [ $majorvers -ne 10 ]; then -echo "InstallationCheck: not ok" exit 112 fi @@ -18,5 +17,4 @@ if [ -e $tmpcellalias ]; then mv -f $tmpcellalias $tmpcellalias.$date fi -echo "InstallationCheck: ok" exit 0 diff --git a/src/packaging/MacOS/InstallationCheck.8 b/src/packaging/MacOS/InstallationCheck.8 index 1975ef742..fd32410a5 100644 --- a/src/packaging/MacOS/InstallationCheck.8 +++ b/src/packaging/MacOS/InstallationCheck.8 @@ -2,7 +2,6 @@ majorvers=`uname -r | sed 's/\..*//'` echo "InstallationCheck: os release is $majorvers" if [ $majorvers -ne 8 ]; then -echo "InstallationCheck: not ok" exit 112 fi @@ -18,5 +17,4 @@ if [ -e $tmpcellalias ]; then mv -f $tmpcellalias $tmpcellalias.$date fi -echo "InstallationCheck: ok" exit 0 diff --git a/src/packaging/MacOS/InstallationCheck.9 b/src/packaging/MacOS/InstallationCheck.9 index 05e259235..8a0d0ecf0 100644 --- a/src/packaging/MacOS/InstallationCheck.9 +++ b/src/packaging/MacOS/InstallationCheck.9 @@ -2,7 +2,6 @@ majorvers=`uname -r | sed 's/\..*//'` echo "InstallationCheck: os release is $majorvers" if [ $majorvers -ne 9 ]; then -echo "InstallationCheck: not ok" exit 112 fi @@ -18,5 +17,4 @@ if [ -e $tmpcellalias ]; then mv -f $tmpcellalias $tmpcellalias.$date fi -echo "InstallationCheck: ok" exit 0