[Debian-tex-commits] SVN tex-common commit + diffs: r5132 - tex-common/branches/v3/scripts
Norbert Preining
preining at alioth.debian.org
Mon Mar 5 01:21:28 UTC 2012
Author: preining
Date: 2012-03-05 01:21:28 +0000 (Mon, 05 Mar 2012)
New Revision: 5132
Modified:
tex-common/branches/v3/scripts/update-updmap
Log:
one more fix for update-updmap
Modified: tex-common/branches/v3/scripts/update-updmap
===================================================================
--- tex-common/branches/v3/scripts/update-updmap 2012-03-05 00:53:47 UTC (rev 5131)
+++ tex-common/branches/v3/scripts/update-updmap 2012-03-05 01:21:28 UTC (rev 5132)
@@ -195,12 +195,14 @@
#
# check for old files
-old_files=$(find $SNIPPET_OLD_BASE -name \*.cfg)
-if [ -n "$old_files" ] ; then
- echo ""
- echo "Warning: old configuration style found in $SNIPPET_OLD_BASE" >&2
- echo "Warning: these packages should be rebuild with tex-common >= 3" >&2
- echo ""
+if [ -d $SNIPPET_OLD_BASE ] ; then
+ old_files=$(find $SNIPPET_OLD_BASE -name \*.cfg)
+ if [ -n "$old_files" ] ; then
+ echo ""
+ echo "Warning: old configuration style found in $SNIPPET_OLD_BASE" >&2
+ echo "Warning: these packages should be rebuild with tex-common >= 3" >&2
+ echo ""
+ fi
fi
if [ $quiet = 0 ] && [ -n "$updated_files" ] ; then
More information about the Debian-tex-commits
mailing list