From: Dinko Korunic <kreator@carnet.hr>
Date: Mon, 13 Apr 2009 08:51:24 +0000 (+0200)
Subject: - priprema za Lenny
X-Git-Tag: v4.10.1-3~4
X-Git-Url: http://ftp.carnet.hr/pub/carnet-debian/scm?a=commitdiff_plain;h=8711203830010a8f219d31e74dca510c543b409e;p=monit-cn.git

- priprema za Lenny
- minimalni zahvati
---

diff --git a/README.CARNet b/README.CARNet
index 9d7e4db..a8f4539 100644
--- a/README.CARNet
+++ b/README.CARNet
@@ -34,4 +34,4 @@ Primijetite da je monit respawnable proces -- on ne starta kroz
 "padne" ili ga nehotice netko "ubije", on ce se automatski odmah pokrenuti
 nazad.
 
- -- Dinko Korunic <kreator@carnet.hr> at  Tue, 16 Dec 2008 14:07:06 +0100
+ -- Dinko Korunic <kreator@CARNet.hr> at  Sun, 12 Apr 2009 16:32:42 +0200
diff --git a/debian/changelog b/debian/changelog
index 5fc4c42..8646429 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+monit-cn (1:4.10.1-1) stable; urgency=low
+
+  * Update paketa za Lenny
+
+ -- Dinko Korunic <kreator@carnet.hr>  Sun, 12 Apr 2009 16:36:32 +0200
+
 monit-cn (1:4.8.1-8) stable; urgency=low
 
   * bugfix za cron gdje se koristio cron.pid umjesto crond.pid
diff --git a/debian/control b/debian/control
index 3cd96a9..d2db3d9 100644
--- a/debian/control
+++ b/debian/control
@@ -1,13 +1,13 @@
 Source: monit-cn
 Section: net
 Priority: optional
-Maintainer: Dinko Korunic <kreator@carnet.hr>
+Maintainer: Dinko Korunic <kreator@CARNet.hr>
 Build-Depends: debhelper (>= 4)
 Standards-Version: 3.7.2
 
 Package: monit-cn
 Architecture: all
-Depends: monit (>= 1:4.8.1-2.1), carnet-tools-cn (>= 2.1.8), awk
+Depends: monit (>= 1:4.10.1-4), carnet-tools-cn (>= 2.8.1), awk
 Description: A utility for monitoring and managing daemons or similar programs
  monit is a utility for monitoring and managing daemons or similar
  programs running on a Unix system. It will start specified programs
diff --git a/debian/postinst b/debian/postinst
index 7a3def1..0c25939 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -105,8 +105,7 @@ fi
 # install as inittab service
 if ! grep -q '/usr/sbin/monit' /etc/inittab; then
     echo "CN: Installing monit service in /etc/inittab"
-    rm -f /etc/inittab.$$
-    cp /etc/inittab /etc/inittab.$$
+    cp -a /etc/inittab /etc/inittab.$$
     cp-update monit-cn /etc/inittab.$$ <<EOF
 mo:2345:respawn:/usr/sbin/monit -Ic /etc/monit/monitrc
 m0:06:wait:/usr/sbin/monit -Ic /etc/monit/monitrc stop myprocess