[Dbconfig-common-changes] [dbconfig-common] r444 - in trunk: debian dpkg

Sean Finney seanius at alioth.debian.org
Thu Apr 10 17:07:42 UTC 2008


tags 472944 pending
thanks

Author: seanius
Date: 2008-04-10 17:07:42 +0000 (Thu, 10 Apr 2008)
New Revision: 444

Modified:
   trunk/debian/changelog
   trunk/dpkg/postinst
Log:
find fix

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2008-04-10 17:05:14 UTC (rev 443)
+++ trunk/debian/changelog	2008-04-10 17:07:42 UTC (rev 444)
@@ -8,6 +8,7 @@
     - fix for ucf/debconf/stdout redirection problems (closes: #435143).
     - fix for db server/client installed status differences (closes: #448804).
     - allow specifying preferred order in dbtype selection (closes: #469832).
+    - find with -xtype instead of -type to allow symlinks (closes: #472944).
   * update documentation wrt dbtype selection
   * centralize definition of dbc.log location
   * a test suite! now using shunit2 for unit tests, implemented some

Modified: trunk/dpkg/postinst
===================================================================
--- trunk/dpkg/postinst	2008-04-10 17:05:14 UTC (rev 443)
+++ trunk/dpkg/postinst	2008-04-10 17:07:42 UTC (rev 444)
@@ -219,7 +219,7 @@
 
 	if [ ! "$upgradedirs" ]; then return 0; fi
 
-	for f in `find $upgradedirs -type f -print0 | \
+	for f in `find $upgradedirs -xtype f -print0 | \
               xargs --no-run-if-empty -0 -n1 basename | sort -n | uniq`; do
 		if dpkg --compare-versions $dbc_oldversion lt $f; then
 			pending="$pending $f"




More information about the Dbconfig-common-changes mailing list