]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Don't echo from the InstallationCheck script
authorSimon Wilkinson <sxw@your-file-system.com>
Tue, 2 Feb 2010 15:47:02 +0000 (15:47 +0000)
committerDerrick Brashear <shadow|account-1000005@unknown>
Tue, 2 Feb 2010 15:49:12 +0000 (07:49 -0800)
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 <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/packaging/MacOS/InstallationCheck.10
src/packaging/MacOS/InstallationCheck.8
src/packaging/MacOS/InstallationCheck.9

index b4774bfd21fb00e78f5c337ca7ec3ed9777d5041..26e98d8cb1f5c86e1381dfee17e9bf682ff99406 100644 (file)
@@ -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
index 1975ef742d1bcefcc37b64a40b078f41c2708425..fd32410a5c2f3405bc2c971f7b9ab456ca27a2ae 100644 (file)
@@ -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
index 05e259235730de41814ef858234cc43b2db48424..8a0d0ecf045c5b0916e465af6ef6b168524b9f33 100644 (file)
@@ -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