From 32be87d814fd45d61ab703d640f64cf2d4262004 Mon Sep 17 00:00:00 2001 From: Ivan Rako Date: Sun, 21 Feb 2016 16:22:17 +0100 Subject: [PATCH] izmjene za jessie --- debian/changelog | 6 ++++++ debian/postinst | 13 ++----------- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/debian/changelog b/debian/changelog index 90b48bc..be4d9cd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +clamav-cn (4:0.98.7~cn0) stable; urgency=medium + + * Prvo izdanje za jessie + + -- Ivan Rako Sun, 21 Feb 2016 16:20:38 +0100 + clamav-cn (4:0.97.8~cn0) stable; urgency=medium * Prvo izdanje za wheezy diff --git a/debian/postinst b/debian/postinst index 5e370f3..a219653 100755 --- a/debian/postinst +++ b/debian/postinst @@ -51,16 +51,7 @@ fi # restart if needed [ "$restart" = "yes" ] || exit 0 -if [ -x /usr/sbin/invoke-rc.d ]; then - [ -x /etc/init.d/clamav-daemon ] && invoke-rc.d clamav-daemon restart -else - [ -x /etc/init.d/clamav-daemon ] && /etc/init.d/clamav-daemon restart -fi - -if [ -x /usr/sbin/invoke-rc.d ]; then - [ -x /etc/init.d/clamav-freshclam ] && invoke-rc.d clamav-freshclam restart -else - [ -x /etc/init.d/clamav-freshclam ] && /etc/init.d/clamav-freshclam restart -fi +service clamav-daemon restart +service clamav-freshclam restart #DEBHELPER# -- 1.7.10.4