Hi Ondrey,

On Monday, February 06, 2012 08:24:13 PM Ondřej Surý wrote:
> thanks for the bug report.  Can you please send a patch, so I can see
> what you are
> actually talking about?
My patch currently is total crap, thats why I didn't send it so far ;)

Its attached now.

Andres
--- /tmp/cyrus-upgrade-db	2012-02-06 20:48:30.334634974 +0100
+++ /tmp/upgrade-db	2012-02-06 20:50:28.809453691 +0100
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 # Cyrus database backends upgrade script
 # (C) 2001 Ondřej Surý <ond...@sury.org>
 # distributed under the same licence as Cyrus IMAPd
@@ -187,7 +187,7 @@
 		checkpointbdb $NEW_DBVERSION
 	    else
 		# Remove empty environment
-		rm -rf $CONFIG_DIR/db
+		echo not doing "rm -rf $CONFIG_DIR/db" because we need it for a later db
 	    fi
 	fi
     done

Reply via email to