Package: gsfonts
Version: 1:8.11+urwcyr1.0.7~pre41-1
Severity: minor

The use of echo -e to enable backslash escapes is not supported by all shells
which may be installed as /bin/sh in Debian. When /bin/sh is [d]ash, the
upgrade of gsfonts prints some weird-looking messages like this:

  -e -n Unregistering PostScript fonts...
  -e -n (Re-)registering PostScript fonts...

The postinst and prerm scripts have these interesting lines:

  gsfonts.postinst:
  echo -e -n "(Re-)registering PostScript fonts...\n"

  gsfonts.prerm:
  echo -e -n "Unregistering PostScript fonts...\n"

They use 3 non-portable echo features in one line (-e, -n, and \n) - only one
of which (the -n) is guaranteed by Debian to be supported in /bin/sh, and the
net effect, if all 3 of them happen to work, is that they cancel each other
out! How about simplifying those lines to

  echo "(Re-)registering PostScript fonts..."
  echo "Unregistering PostScript fonts..."

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.20.4
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages gsfonts depends on:
ii  defoma                       0.11.10-0.1 Debian Font Manager -- automatic f

gsfonts recommends no packages.

-- debconf-show failed


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to