From d6e47dc172f8eb132145e0bdac9c143ac49a2f5c Mon Sep 17 00:00:00 2001
From: Zeljko Boros <Zeljko.Boros@carnet.hr>
Date: Mon, 3 May 2021 15:09:32 +0200
Subject: [PATCH] Prva inacica za buster

---
 debian/changelog |    6 ++++++
 debian/control   |    4 ++--
 debian/postinst  |    2 +-
 3 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4da9237..530f664 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+munin-cn (2.0.49+cn10u1) stable; urgency=low
+
+  * Prva inačica paketa za buster
+
+ -- Zeljko Boros <Zeljko.Boros@carnet.hr>  Mon, 03 May 2021 15:07:26 +0200
+
 munin-cn (2.0.33.1) stable; urgency=low
 
   * Prva inačica paketa za stretch
diff --git a/debian/control b/debian/control
index 09babdc..c700e04 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Standards-Version: 3.9.8
 
 Package: munin-cn
 Architecture: all
-Depends: munin (>= 2.0.33-1), munin-node (>= 2.0.33-1), ${misc:Depends}
+Depends: munin (>= 2.0.49-1), munin-node (>= 2.0.49-1), ${misc:Depends}
 Description: network-wide graphing framework (grapher/gatherer)
  Munin is a highly flexible and powerful solution used to create graphs of
  virtually everything imaginable throughout your network, while still
@@ -30,4 +30,4 @@ Description: network-wide graphing framework (grapher/gatherer)
  RRDtool. To see a real example of Munin in action, take a peek at
  <http://www.linpro.no/projects/munin/example/>.
  .
- This package brings CARNet-related configuration.
+ This package brings CARNET-specific configuration.
diff --git a/debian/postinst b/debian/postinst
index 8724b41..12fcad8 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -46,7 +46,7 @@ cp_check_and_sed 'localhost.localdomain' \
 if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
 	invoke-rc.d munin-node restart || exit $?
 else
-	/etc/init.d/munin-node restart || exit $?
+	service munin-node restart || exit $?
 fi
 
 # dh_installdeb will replace this with shell code automatically
-- 
1.7.10.4