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

Javier Fernandez-Sanguino jfs at debian.org
Sat Jul 30 17:01:17 UTC 2011


The following commit has been merged in the debian branch:
commit 596b181f991378d2f4ef81d3bbc9926a128f8091
Author: Javier Fernandez-Sanguino <jfs at debian.org>
Date:   Sat Jul 30 19:01:12 2011 +0200

    Fix syntax errors

diff --git a/debian/ossec-hids-server.postinst b/debian/ossec-hids-server.postinst
index b319959..d53a1da 100644
--- a/debian/ossec-hids-server.postinst
+++ b/debian/ossec-hids-server.postinst
@@ -86,7 +86,7 @@ EOF
                 fi
 	        if ! dpkg-statoverride --list ${HOMEDIR}$dir  >/dev/null
                 then
-                    if [ -e "${HOMEDIR}$dir" ] then
+                    if [ -e "${HOMEDIR}$dir" ] ; then
                         chown $owner ${HOMEDIR}$dir
                         chmod $mode ${HOMEDIR}$dir
                     else
@@ -120,23 +120,3 @@ esac
 #DEBHELPER#
 
 exit 0
-
-        
-
-    ;;
-    configure)
-    ;;
-    abort-upgrade)
-    ;;
-    *)
-        echo "preinst called with unknown argument \`$1'" >&2
-        exit 0
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0

-- 
Git repository for pkg-ossec



More information about the Pkg-ossec-devel mailing list