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

Jose Antonio Quevedo joseantonio.quevedo at gmail.com
Fri Aug 12 08:55:40 UTC 2011


The following commit has been merged in the debian branch:
commit e2c81bd33caac5a634159ad273328899c34c35a3
Author: Jose Antonio Quevedo <joseantonio.quevedo at gmail.com>
Date:   Fri Aug 12 09:55:02 2011 +0200

    Added postrm scripts for agent, local and server installation.

diff --git a/debian/postrm.ex b/debian/ossec-hids-agent.postrm
similarity index 95%
copy from debian/postrm.ex
copy to debian/ossec-hids-agent.postrm
index 50180d8..cfe32f8 100644
--- a/debian/postrm.ex
+++ b/debian/ossec-hids-agent.postrm
@@ -21,6 +21,10 @@ set -e
 
 case "$1" in
     purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+
+	update-rc.d ossec-hids-agent remove
+	
+
     ;;
 
     *)
diff --git a/debian/postrm.ex b/debian/ossec-hids-local.postrm
similarity index 95%
copy from debian/postrm.ex
copy to debian/ossec-hids-local.postrm
index 50180d8..25dc11f 100644
--- a/debian/postrm.ex
+++ b/debian/ossec-hids-local.postrm
@@ -21,6 +21,10 @@ set -e
 
 case "$1" in
     purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+
+	update-rc.d ossec-hids-local remove
+	
+
     ;;
 
     *)
diff --git a/debian/postrm.ex b/debian/ossec-hids-server.postrm
similarity index 95%
copy from debian/postrm.ex
copy to debian/ossec-hids-server.postrm
index 50180d8..dee29b2 100644
--- a/debian/postrm.ex
+++ b/debian/ossec-hids-server.postrm
@@ -21,6 +21,10 @@ set -e
 
 case "$1" in
     purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+
+	update-rc.d ossec-hids-server remove
+	
+
     ;;
 
     *)

-- 
Git repository for pkg-ossec



More information about the Pkg-ossec-devel mailing list