Bug#305332: fails on purge if /etc/mysql doesn't exist

2005-04-19 Thread Michael Ablassmeier
hi Sean, On Tue, Apr 19, 2005 at 09:05:38AM -0400, sean finney wrote: > On Tue, Apr 19, 2005 at 01:27:03PM +0200, Michael Ablassmeier wrote: > > @@ -1,9 +1,11 @@ > > #!/bin/bash > > > > if [ "$1" = "purge" ]; then > > + if [ -e '/etc/mysql' ]; then > >if [ -z "`ls /etc/mysql 2>/dev/null`"

Bug#305332: fails on purge if /etc/mysql doesn't exist

2005-04-19 Thread sean finney
tags 305332 confirmed pending thanks hi michael, On Tue, Apr 19, 2005 at 01:27:03PM +0200, Michael Ablassmeier wrote: > @@ -1,9 +1,11 @@ > #!/bin/bash > > if [ "$1" = "purge" ]; then > + if [ -e '/etc/mysql' ]; then >if [ -z "`ls /etc/mysql 2>/dev/null`" ]; then > rmdir /etc/mysql >

Bug#305332: fails on purge if /etc/mysql doesn't exist

2005-04-19 Thread Michael Ablassmeier
Package: mysql-common-4.1 Severity: minor Version: 4.1.11-1 Tags: patch hi, purging the package fails if /etc/mysql doesn't exist: Removing mysql-common-4.1 ... Purging configuration files for mysql-common-4.1 ... rmdir: `/etc/mysql': No such file or directory dpkg: error processing mysql-co