Explorar o código

fix update jobs

Ralf S. Engelschall %!s(int64=21) %!d(string=hai) anos
pai
achega
635a1a532b
Modificáronse 2 ficheiros con 3 adicións e 3 borrados
  1. 1 1
      clamav/clamav.spec
  2. 2 2
      clamav/rc.clamav

+ 1 - 1
clamav/clamav.spec

@@ -34,7 +34,7 @@ Class:        PLUS
 Group:        Filesystem
 License:      GPL
 Version:      0.71
-Release:      20040523
+Release:      20040526
 
 #   list of sources
 Source0:      http://osdn.dl.sourceforge.net/clamav/clamav-%{version}.tar.gz

+ 2 - 2
clamav/rc.clamav

@@ -54,7 +54,7 @@
 
 %daily -u @l_rusr@
     rcService clamav enable yes || exit 0
-    if [ ".$clamav_update" = .hourly ]; then
+    if [ ".$clamav_update" = .daily ]; then
         @l_prefix@/bin/freshclam
     fi
     shtool rotate -f \
@@ -72,7 +72,7 @@
 
 %weekly -u @l_rusr@
     rcService clamav enable yes || exit 0
-    if [ ".$clamav_update" = .hourly ]; then
+    if [ ".$clamav_update" = .weekly ]; then
         @l_prefix@/bin/freshclam
     fi