[Popcon-developers] Bug#231958: popularity-contest: XSIism in cronjob
Clint Adams
Clint Adams <schizo@debian.org>, 231958@bugs.debian.org
Mon, 9 Feb 2004 16:36:15 -0500
Package: popularity-contest
Version: 1.11
Severity: serious
Tags: patch
This is a #!/bin/sh script.
--- popularity-contest.orig 2004-02-09 16:33:25.689130693 -0500
+++ popularity-contest 2004-02-09 16:34:37.406684668 -0500
@@ -18,7 +18,7 @@
if [ -z "$MAILTO" ]; then exit 0; fi
# don't run if PARTICIPATE is "no" or unset!
-[ "$PARTICIPATE" = "no" -o -z "$PARTICIPATE" ] && exit 0
+[ "$PARTICIPATE" = "no" ] || [ -z "$PARTICIPATE" ] && exit 0
# keep old logs
cd /var/log