[Dbconfig-common-changes] [dbconfig-common] r205 - trunk/dpkg

Sean Finney seanius at costa.debian.org
Sun Apr 23 23:04:57 CEST 2006


Author: seanius
Date: 2006-04-23 21:04:56 +0000 (Sun, 23 Apr 2006)
New Revision: 205

Modified:
   trunk/dpkg/postinst
Log:
pass --no-run-if-empty to xargs

Modified: trunk/dpkg/postinst
===================================================================
--- trunk/dpkg/postinst	2006-04-23 21:01:43 UTC (rev 204)
+++ trunk/dpkg/postinst	2006-04-23 21:04:56 UTC (rev 205)
@@ -174,7 +174,7 @@
 	if [ ! "$upgradedirs" ]; then return 0; fi
 
 	for f in `find $upgradedirs -type f -print0 | \
-              xargs -0 -n1 basename | sort -n | uniq`; do
+              xargs --no-run-if-empty -0 -n1 basename | sort -n | uniq`; do
 		if dpkg --compare-versions $dbc_oldversion lt $f; then
 			upgrades_pending="$upgrades_pending $f"
 		fi




More information about the Dbconfig-common-changes mailing list