[Pkg-ossec-devel] [SCM] Git repository for pkg-ossec branch, master, updated. 828397c7e3dd8908fee364cbd0760a509fbf6f77

Jose Antonio Quevedo joseantonio.quevedo at gmail.com
Thu Jul 21 22:08:39 UTC 2011


The following commit has been merged in the master branch:
commit 77565b06d18baa7a4cfcdde63769c9e15d8b92d3
Author: Jose Antonio Quevedo <joseantonio.quevedo at gmail.com>
Date:   Thu Jul 21 23:51:42 2011 +0200

    Modified install.sh to only-build OR only install/update.

diff --git a/install.sh b/install.sh
index d552ba5..9594e58 100755
--- a/install.sh
+++ b/install.sh
@@ -77,6 +77,9 @@ Install()
 
     echo "CEXTRA=${CEXTRA}" >> ./src/Config.OS
 
+  # If only-building
+  if [ "X${BUILD}" = "Xyes" ]; then
+
     # Makefile
 	echo " - ${runningmake}"
     cd ./src
@@ -97,6 +100,11 @@ Install()
         fi
     fi
 
+    exit 0
+
+  else # End of building
+
+
     # If update, stop ossec
     if [ "X${update_only}" = "Xyes" ]; then
         UpdateStopOSSEC
@@ -147,7 +155,7 @@ Install()
             notmodified="yes"
         fi
     fi
-
+  fi
 }
 
 

-- 
Git repository for pkg-ossec



More information about the Pkg-ossec-devel mailing list