[Pkg-ossec-devel] [SCM] Git repository for pkg-ossec branch, master, updated. 1700b51750e5e980be87c87e6c634c974dccb0bc
Javier Fernandez-Sanguino
jfs at debian.org
Wed Jul 20 23:54:08 UTC 2011
The following commit has been merged in the master branch:
commit 1700b51750e5e980be87c87e6c634c974dccb0bc
Author: Javier Fernandez-Sanguino <jfs at debian.org>
Date: Thu Jul 21 01:54:03 2011 +0200
Fix syntax error and use original's author coding styel
diff --git a/install.sh b/install.sh
index 1afedc9..b806e7e 100755
--- a/install.sh
+++ b/install.sh
@@ -1198,11 +1198,19 @@ USER_INSTALL_TYPE="server"
pre
-if [$1="build"]; then build
-elif [$1=install]
- ### Calling main function where installation happens
- main
-fi
+case $1 in
+ "build")
+ build
+ ;;
+ "install")
+# Call main function where installation happens
+ main
+ ;;
+ *)
+ echo " Unknown argument $1" >&2
+ exit 1
+ ;;
+ esac
exit 0
--
Git repository for pkg-ossec
More information about the Pkg-ossec-devel
mailing list