Bug#582430: /etc/cron.d/drupal6 causes mails from cron after package is removed

2010-05-20 Thread Richard Atterer
Package: drupal6
Version: 6.15-1
Severity: minor

Hello,

/etc/cron.d/drupal6 contains this line:

  [ -x /usr/share/drupal6/scripts/cron.sh ]  
/usr/share/drupal6/scripts/cron.sh

In the case that drupal6 is uninstalled but not purged, the line will cause 
cron to email me with command failed with exit status 1 every hour. 
Please change the command to the following to fix this:

  if test -x /usr/share/drupal6/scripts/cron.sh; then 
/usr/share/drupal6/scripts/cron.sh; fi

Cheers,
  Richard


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (650, 'testing'), (600, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages drupal6 depends on:
ii  apache2-mpm-prefork [httpd]   2.2.15-5   Apache HTTP Server - traditional n
ii  curl  7.20.1-2   Get a file from an HTTP, HTTPS or 
pn  dbconfig-common   none (no description available)
ii  debconf [debconf-2.0] 1.5.32 Debian configuration management sy
pn  mysql-client | virtual-mysql- none (no description available)
ii  php5  5.3.2-1server-side, HTML-embedded scripti
ii  php5-gd   5.3.2-1GD module for php5
pn  php5-mysql | php5-pgsql   none (no description available)
ii  postfix [mail-transport-agent 2.6.5-3High-performance mail transport ag
ii  wwwconfig-common  0.2.1  Debian web auto configuration

Versions of packages drupal6 recommends:
pn  mysql-server | postgresql none (no description available)

drupal6 suggests no packages.

  Richard

-- 
  __   ,
  | ) /|  Richard Atterer
  | \/ |  http://atterer.net




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#582430: /etc/cron.d/drupal6 causes mails from cron after package is removed

2010-05-20 Thread J.M.Roth
On 5/20/2010 8:06 PM, Richard Atterer wrote:
   [ -x /usr/share/drupal6/scripts/cron.sh ]  
 /usr/share/drupal6/scripts/cron.sh
 
   if test -x /usr/share/drupal6/scripts/cron.sh; then 
 /usr/share/drupal6/scripts/cron.sh; fi

To me, these two lines look like they do exactly the same thing.
Can you explain what is supposed to be the difference?

Regards
JM



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#582430: /etc/cron.d/drupal6 causes mails from cron after package is removed

2010-05-20 Thread J.M.Roth
Alright I'm convinced.

$ [ -x bla ]  echo bla
$ echo $?
1
$ if test -x bla; then echo bla; fi
$ echo $?
0

Never mind ^^



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org