[Pkg-cyrus-sasl2-commits] r257 - in /cyrus-sasl-2.1/trunk/debian: changelog sasl2-bin.postinst

fabbe at users.alioth.debian.org fabbe at users.alioth.debian.org
Sun Aug 5 17:25:05 UTC 2007


Author: fabbe
Date: Sun Aug  5 17:25:05 2007
New Revision: 257

URL: http://svn.debian.org/wsvn/pkg-cyrus-sasl2/?sc=1&rev=257
Log:
When creating an empty sasldb file, check for existence instead of regular file.

Modified:
    cyrus-sasl-2.1/trunk/debian/changelog
    cyrus-sasl-2.1/trunk/debian/sasl2-bin.postinst

Modified: cyrus-sasl-2.1/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-cyrus-sasl2/cyrus-sasl-2.1/trunk/debian/changelog?rev=257&op=diff
==============================================================================
--- cyrus-sasl-2.1/trunk/debian/changelog (original)
+++ cyrus-sasl-2.1/trunk/debian/changelog Sun Aug  5 17:25:05 2007
@@ -7,8 +7,10 @@
     debian/po/templates.pot, debian/sasl2-bin.config: Build against libdb4.4.
     Upgrade the database format of /etc/sasldb2 on package upgrade. There is
     no support for automatic downgrade. (Closes: #354413, #421940)
-
- -- Fabian Fagerholm <fabbe at debian.org>  Sun,  5 Aug 2007 19:45:51 +0300
+  * debian/sasl2-bin.postinst: when creating an empty sasldb file, check for
+    existence, not that it is a regular file.
+
+ -- Fabian Fagerholm <fabbe at debian.org>  Sun,  5 Aug 2007 20:24:02 +0300
 
 cyrus-sasl2 (2.1.22.dfsg1-13) unstable; urgency=low
 

Modified: cyrus-sasl-2.1/trunk/debian/sasl2-bin.postinst
URL: http://svn.debian.org/wsvn/pkg-cyrus-sasl2/cyrus-sasl-2.1/trunk/debian/sasl2-bin.postinst?rev=257&op=diff
==============================================================================
--- cyrus-sasl-2.1/trunk/debian/sasl2-bin.postinst (original)
+++ cyrus-sasl-2.1/trunk/debian/sasl2-bin.postinst Sun Aug  5 17:25:05 2007
@@ -54,7 +54,7 @@
 		fi
 
 		# Create an empty sasldb file, unless one already exists
-		if [ ! -f $SASLDB_FILE ]; then
+		if [ ! -e $SASLDB_FILE ]; then
 			echo '!' | saslpasswd2 -c 'no:such:user'
 			saslpasswd2 -d 'no:such:user'
 		fi




More information about the Pkg-cyrus-sasl2-commits mailing list