izmjene za jessie debian/4%0.98.7_cn0
authorIvan Rako <irako@nekkar.carnet.hr>
Sun, 21 Feb 2016 15:22:17 +0000 (16:22 +0100)
committerIvan Rako <irako@nekkar.carnet.hr>
Sun, 21 Feb 2016 15:22:17 +0000 (16:22 +0100)
debian/changelog
debian/postinst

index 90b48bc..be4d9cd 100644 (file)
@@ -1,3 +1,9 @@
+clamav-cn (4:0.98.7~cn0) stable; urgency=medium
+
+  * Prvo izdanje za jessie
+
+ -- Ivan Rako <Ivan.Rako@CARNet.hr>  Sun, 21 Feb 2016 16:20:38 +0100
+
 clamav-cn (4:0.97.8~cn0) stable; urgency=medium
 
   * Prvo izdanje za wheezy
index 5e370f3..a219653 100755 (executable)
@@ -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#