소스 검색

fix update jobs

Ralf S. Engelschall 21 년 전
부모
커밋
635a1a532b
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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