Author: glen                         Date: Tue Jan 17 22:19:15 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- standard caps for yes/no variables

---- Files affected:
SOURCES:
   webalizer.cron (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SOURCES/webalizer.cron
diff -u SOURCES/webalizer.cron:1.7 SOURCES/webalizer.cron:1.8
--- SOURCES/webalizer.cron:1.7  Tue Mar  1 16:20:53 2005
+++ SOURCES/webalizer.cron      Tue Jan 17 23:19:10 2006
@@ -4,21 +4,21 @@
 [ -f /etc/sysconfig/webalizer ] && . /etc/sysconfig/webalizer
 umask 0022
 
-if [ -n "$ENABLE" ] && [ "$ENABLE" = "YES" ]; then
+if [ -n "$ENABLE" ] && [ "$ENABLE" = "yes" -o "$ENABLE" = "YES" ]; then
        LC_ALL=$LANG
        export LANG
        export LC_ALL
        
-       if [ -n "$REALLY_QUIET" ] && [ "$REALLY_QUIET" = "YES" ]; then
+       if [ -n "$REALLY_QUIET" ] && [ "$REALLY_QUIET" = "yes" -o 
"$REALLY_QUIET" = "YES" ]; then
                WEBALIZER_OPTS="-Q"
-       elif [ -n "$QUIET" ] && [ "$QUIET" = "YES" ]; then
+       elif [ -n "$QUIET" ] && [ "$QUIET" = "yes" -o "$QUIET" = "YES" ]; then
                WEBALIZER_OPTS="-q"
        fi
        
        if [ -f /etc/webalizer.conf ]; then
                webalizer ${WEBALIZER_OPTS} -c /etc/webalizer.conf
        fi
-       if [ -n "$MULTIPLE" ] && [ "$MULTIPLE" = "YES" ]; then
+       if [ -n "$MULTIPLE" ] && [ "$MULTIPLE" = "yes" -o "$MULTIPLE" = "YES" 
]; then
                for i in $(ls /etc/webalizer/*.conf 2>/dev/null); do
                        webalizer ${WEBALIZER_OPTS} -c $i;
                done
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/webalizer.cron?r1=1.7&r2=1.8&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to