[Pkg-ossec-devel] [SCM] Git repository for pkg-ossec branch, debian, updated. ffccd6ed86dc57118f931bf4f2d8ebac6a3f7ea2

Jose Antonio Quevedo joseantonio.quevedo at gmail.com
Sat Jul 23 15:04:10 UTC 2011


The following commit has been merged in the debian 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