Package: automysqlbackup
Version: 2.5-3
Severity: important
Tags: 

It fails for me with the following error:

/usr/sbin/automysqlbackup: line 586: [: 6: unary operator expected

I *believe* this is because some of the stroing compares are missing quotes. 
This diff corrects all the missing quotes *I think* - but someone more 
knowledgeable than me should check it!

# diff automysqlbackup fixed 
504c504
<       if [ $DOM = "01" ]; then
---
>       if [ "$DOM" = "01" ]; then
540c540
<       if [ $DNOW = $DOWEEKLY ]; then
---
>       if [ "$DNOW" = "$DOWEEKLY" ]; then
577c577
<       if [ $DOM = "01" ]; then
---
>       if [ "$DOM" = "01" ]; then
586c586
<       if [ $DNOW = $DOWEEKLY ]; then
---
>       if [ "$DNOW" = "$DOWEEKLY" ]; then

-- System Information:
Debian Release: 5.0
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26.1 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages automysqlbackup depends on:
ii  mysql-client-5.0 [mysql-clien 5.0.75-1   MySQL database client binaries

automysqlbackup recommends no packages.

automysqlbackup suggests no packages.

-- no debconf information



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

Reply via email to