[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

X Strike Force X.Org X11 SVN commit: r2317 - trunk/font/xfonts-utils/debian/local



Author: vorlon
Date: 2006-06-12 04:16:24 -0400 (Mon, 12 Jun 2006)
New Revision: 2317

Modified:
   trunk/font/xfonts-utils/debian/local/update-fonts-scale
Log:
Further fixes to update-fonts-scale to ensure we *remove* any
old files in the event that there are no longer fonts with which to
populate fonts.scale.



Modified: trunk/font/xfonts-utils/debian/local/update-fonts-scale
===================================================================
--- trunk/font/xfonts-utils/debian/local/update-fonts-scale	2006-06-12 03:54:57 UTC (rev 2316)
+++ trunk/font/xfonts-utils/debian/local/update-fonts-scale	2006-06-12 08:16:24 UTC (rev 2317)
@@ -176,6 +176,10 @@
                   >>"$XDIR/fonts.scale.update-new"
                 mv "$XDIR/fonts.scale.update-new" "$XDIR/fonts.scale"
                 rm "$XDIR/fonts.scale.update-tmp"
+            else
+                # No font in the processed *.scale files was in the current
+                # directory, so remove fonts.scale.
+                rm -f "$XDIR/fonts.scale"
             fi
         done
     else



Reply to: