more output
authorJason Etheridge <jason@esilibrary.com>
Mon, 7 Oct 2013 20:17:06 +0000 (16:17 -0400)
committerJason Etheridge <jason@esilibrary.com>
Mon, 7 Oct 2013 20:17:06 +0000 (16:17 -0400)
installer/wheezy/eg_wheezy_installer.sh

index 33df85a..34c9d57 100755 (executable)
@@ -47,11 +47,14 @@ done
 
 # -----------------------------------------------------------------------
 # force CPAN to load by installing something that should already be installed
+echo _.-~= test CPAN
 if [ $YES ]; then
     yes | cpan Fcntl
 else
     cpan Fcntl
 fi
+echo Return Value = $?
+echo End of test CPAN =~-._
 
 # CPAN follow pre-reqs?
 if [ ! "$(echo 'o conf prerequisites_policy' | cpan | grep follow)" ]; then
@@ -88,9 +91,12 @@ fi;
 BASE_DIR=$PWD
 
 # Install some essential tools
-apt-get update; 
-apt-get -yq dist-upgrade;
-apt-get -yq install build-essential automake git psmisc ntp rsyslog;
+echo _.-~= Installing some pre-requisites
+apt-get update \
+&& apt-get -yq dist-upgrade \
+&& apt-get -yq install build-essential automake git psmisc ntp rsyslog;
+echo Return Value = $?
+echo End of Installing some pre-requisites =~-._
 
 if [ $LIVETEST ]; then
     cpan TAP::Parser::SourceHandler::pgTAP
@@ -120,7 +126,10 @@ git clone --depth 0 --branch $OPENSRF_BRANCH $OPENSRF_REPO OpenSRF;
 git clone --depth 0 --branch $EVERGREEN_BRANCH $EVERGREEN_REPO Evergreen;
 "
 rm -rf /home/opensrf/Evergreen /home/opensrf/OpenSRF
+echo _.-~= Cloning git repos
 su - opensrf sh -c "$OSRF_COMMAND";
+echo Return Value = $?
+echo End of Cloning git repos =~-._
 
 # Show tips