[subversion-commit] SVN tetex commit + diffs: r498 - tex-common/trunk/scripts

Florent Rougon frn at costa.debian.org
Sat Feb 11 11:37:00 UTC 2006


Author: frn
Date: 2006-02-11 11:37:00 +0000 (Sat, 11 Feb 2006)
New Revision: 498

Modified:
   tex-common/trunk/scripts/postinst-texfonts
   tex-common/trunk/scripts/postrm-texfonts
Log:
* 'echo -n' is not specified by POSIX -> replaced with printf
* Quotes in Emacs-style, like `that', should not be used out of Emacs.
  Instead, use 'this style'. cf. http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html


Modified: tex-common/trunk/scripts/postinst-texfonts
===================================================================
--- tex-common/trunk/scripts/postinst-texfonts	2006-02-06 15:47:45 UTC (rev 497)
+++ tex-common/trunk/scripts/postinst-texfonts	2006-02-11 11:37:00 UTC (rev 498)
@@ -14,7 +14,7 @@
 update_lsr_files ()
 {
     tempfile=`mktemp -p /tmp mktexlsr.XXXXXXXX`
-    echo -n "Running mktexlsr. This may take some time. ..."
+    printf "Running mktexlsr. This may take some time..."
     if mktexlsr > $tempfile 2>&1 ; then
         rm -f $tempfile
 	echo " done."
@@ -31,7 +31,7 @@
 create_fontmaps ()
 {
     tempfile=`mktemp -p /tmp updmap.XXXXXXXX`
-    echo -n "Running updmap-sys. This may take some time. ..."
+    printf "Running updmap-sys. This may take some time..."
     if updmap-sys > $tempfile 2>&1 ; then
     	rm -f $tempfile
 	echo " done."
@@ -57,7 +57,7 @@
     ;;
 
     *)
-        echo "postinst called with unknown argument \`$1'" >&2
+        echo "postinst called with unknown argument '$1'" >&2
         exit 1
     ;;
 esac

Modified: tex-common/trunk/scripts/postrm-texfonts
===================================================================
--- tex-common/trunk/scripts/postrm-texfonts	2006-02-06 15:47:45 UTC (rev 497)
+++ tex-common/trunk/scripts/postrm-texfonts	2006-02-11 11:37:00 UTC (rev 498)
@@ -24,7 +24,7 @@
 {
     tempfile=`mktemp -p /tmp checkrun.XXXXXXXX`
     if which $1  >/dev/null; then
-        echo -n "Running $*. This may take some time. ..."
+        printf "Running $*. This may take some time..."
 	set +e
 	if $* > $tempfile 2>&1 ; then
 	    rm -f $tempfile
@@ -56,7 +56,7 @@
     ;;
 
     *)
-        echo "postrm called with unknown argument \`$1'" >&2
+        echo "postrm called with unknown argument '$1'" >&2
         exit 1
     ;;
 esac




More information about the Pkg-tetex-commits mailing list