[Pkg-ossec-devel] [SCM] Git repository for pkg-ossec branch, master, updated. 7e8b583a68db51ca4172bb09d9d5761c485b17ae
Jose Antonio Quevedo
joseantonio.quevedo at gmail.com
Wed Jul 20 14:36:05 UTC 2011
The following commit has been merged in the master branch:
commit 7e8b583a68db51ca4172bb09d9d5761c485b17ae
Author: Jose Antonio Quevedo <joseantonio.quevedo at gmail.com>
Date: Wed Jul 20 16:36:05 2011 +0200
*Hopefully* the last modifications needed in install.sh.
diff --git a/install.sh b/install.sh
index 5d4472f..167cc85 100755
--- a/install.sh
+++ b/install.sh
@@ -1,4 +1,4 @@
-ou#!/bin/sh
+#!/bin/sh
# Installation script for the OSSEC
# Author: Daniel B. Cid <daniel.cid at gmail.com>
# Last modification: Mar 02, 2006
@@ -54,16 +54,6 @@ for i in $*; do
fi
done
-
-
-##########
-# install()
-##########
-Install()
-{
- echo ""
- echo "5- ${installing}"
-
echo "DIR=\"${INSTALLDIR}\"" > ${LOCATION}
echo "CC=${CC}" >> ${LOCATION}
echo "GCC=${CC}" >> ${LOCATION}
@@ -86,6 +76,15 @@ Install()
build
fi
+
+##########
+# install()
+##########
+Install()
+{
+ echo ""
+ echo "5- ${installing}"
+
# If update, stop ossec
if [ "X${update_only}" = "Xyes" ]; then
UpdateStopOSSEC
@@ -1189,16 +1188,13 @@ USER_LANGUAGE="en"
USER_INSTALL_TYPE="server"
if [$1="build"]; then build
-elif [$1=install] install
+elif [$1=install]
+ ### Calling main function where everything happens
+ main
fi
-### Calling main function where everything happens
-#main
-
-
exit 0
-
## EOF ##
--
Git repository for pkg-ossec
More information about the Pkg-ossec-devel
mailing list