Debian Bug report logs -
#419619
gsfonts: postinst/prerm echo -e
Reported by: Alan Curry <pacman@TheWorld.com>
Date: Mon, 16 Apr 2007 23:06:02 UTC
Severity: minor
Found in versions gsfonts/1:8.11+urwcyr1.0.7~pre41-1, gsfonts/1:8.11+urwcyr1.0.7~pre41-2
Fixed in version gsfonts/1:8.11+urwcyr1.0.7~pre41-3
Done: Masayuki Hatta (mhatta) <mhatta@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Masayuki Hatta (mhatta) <mhatta@debian.org>:
Bug#419619; Package gsfonts.
(full text, mbox, link).
Acknowledgement sent to Alan Curry <pacman@TheWorld.com>:
New Bug report received and forwarded. Copy sent to Masayuki Hatta (mhatta) <mhatta@debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
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
Reply sent to Masayuki Hatta (mhatta) <mhatta@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Alan Curry <pacman@TheWorld.com>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #10 received at 419619-close@bugs.debian.org (full text, mbox, reply):
Source: gsfonts
Source-Version: 1:8.11+urwcyr1.0.7~pre41-2
We believe that the bug you reported is fixed in the latest version of
gsfonts, which is due to be installed in the Debian FTP archive:
gsfonts_8.11+urwcyr1.0.7~pre41-2.diff.gz
to pool/main/g/gsfonts/gsfonts_8.11+urwcyr1.0.7~pre41-2.diff.gz
gsfonts_8.11+urwcyr1.0.7~pre41-2.dsc
to pool/main/g/gsfonts/gsfonts_8.11+urwcyr1.0.7~pre41-2.dsc
gsfonts_8.11+urwcyr1.0.7~pre41-2_all.deb
to pool/main/g/gsfonts/gsfonts_8.11+urwcyr1.0.7~pre41-2_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 419619@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Masayuki Hatta (mhatta) <mhatta@debian.org> (supplier of updated gsfonts package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Wed, 02 May 2007 10:08:41 +0900
Source: gsfonts
Binary: gsfonts
Architecture: source all
Version: 1:8.11+urwcyr1.0.7~pre41-2
Distribution: unstable
Urgency: low
Maintainer: Masayuki Hatta (mhatta) <mhatta@debian.org>
Changed-By: Masayuki Hatta (mhatta) <mhatta@debian.org>
Description:
gsfonts - Fonts for the Ghostscript interpreter(s)
Closes: 415927 419619
Changes:
gsfonts (1:8.11+urwcyr1.0.7~pre41-2) unstable; urgency=low
.
* Do not give echo certain-shell-specific options in postinst/prerm - closes: #419619
* Fixed debian/watch - closes: #415927
Files:
6e97f1615458529d310d46e02947cf53 687 text optional gsfonts_8.11+urwcyr1.0.7~pre41-2.dsc
9a4a0d06cffaa7a159791ae76813ada1 7857 text optional gsfonts_8.11+urwcyr1.0.7~pre41-2.diff.gz
4f4075765472bb438bc43d2270f97446 4648182 text optional gsfonts_8.11+urwcyr1.0.7~pre41-2_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGN+aXy2+jQOcHWlQRAuaCAJsHMZji6uTnAnSABqdSPdcjR52bJACdFbNU
bPqu/ez2UTBA7YOX7uYXFOY=
=R4wR
-----END PGP SIGNATURE-----
Bug reopened, originator not changed.
Request was from Lior Kaplan <kaplan@debian.org>
to control@bugs.debian.org.
(Wed, 02 May 2007 20:54:03 GMT) (full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Masayuki Hatta (mhatta) <mhatta@debian.org>:
Bug#419619; Package gsfonts.
(full text, mbox, link).
Acknowledgement sent to Lior Kaplan <kaplan@debian.org>:
Extra info received and forwarded to list. Copy sent to Masayuki Hatta (mhatta) <mhatta@debian.org>.
(full text, mbox, link).
Message #17 received at 419619@bugs.debian.org (full text, mbox, reply):
Package: gsfonts
Version: 1:8.11+urwcyr1.0.7~pre41-2
Followup-For: Bug #419619
During the upgrade to the new version, I noticed this "\n" at the end of line.
Setting up gsfonts (8.11+urwcyr1.0.7~pre41-2) ...
(Re-)registering PostScript fonts...\n
done.
Please remove it also.
Thanks.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.18-4-k7 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages gsfonts depends on:
ii defoma 0.11.10-0.1 Debian Font Manager -- automatic f
gsfonts recommends no packages.
-- no debconf information
Reply sent to Masayuki Hatta (mhatta) <mhatta@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Alan Curry <pacman@TheWorld.com>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #22 received at 419619-close@bugs.debian.org (full text, mbox, reply):
Source: gsfonts
Source-Version: 1:8.11+urwcyr1.0.7~pre41-3
We believe that the bug you reported is fixed in the latest version of
gsfonts, which is due to be installed in the Debian FTP archive:
gsfonts_8.11+urwcyr1.0.7~pre41-3.diff.gz
to pool/main/g/gsfonts/gsfonts_8.11+urwcyr1.0.7~pre41-3.diff.gz
gsfonts_8.11+urwcyr1.0.7~pre41-3.dsc
to pool/main/g/gsfonts/gsfonts_8.11+urwcyr1.0.7~pre41-3.dsc
gsfonts_8.11+urwcyr1.0.7~pre41-3_all.deb
to pool/main/g/gsfonts/gsfonts_8.11+urwcyr1.0.7~pre41-3_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 419619@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Masayuki Hatta (mhatta) <mhatta@debian.org> (supplier of updated gsfonts package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sat, 05 May 2007 01:36:30 +0900
Source: gsfonts
Binary: gsfonts
Architecture: source all
Version: 1:8.11+urwcyr1.0.7~pre41-3
Distribution: unstable
Urgency: low
Maintainer: Masayuki Hatta (mhatta) <mhatta@debian.org>
Changed-By: Masayuki Hatta (mhatta) <mhatta@debian.org>
Description:
gsfonts - Fonts for the Ghostscript interpreter(s)
Closes: 419619
Changes:
gsfonts (1:8.11+urwcyr1.0.7~pre41-3) unstable; urgency=low
.
* Removed \n in postinst/prerm - closes: #419619
Files:
fd92596f9c370ae5b9798b70297c91a2 687 text optional gsfonts_8.11+urwcyr1.0.7~pre41-3.dsc
44b3847da318080e75038c2c9cf2d08d 7879 text optional gsfonts_8.11+urwcyr1.0.7~pre41-3.diff.gz
b9a92899bb6bbc4a7d737aa431b9a891 4648230 text optional gsfonts_8.11+urwcyr1.0.7~pre41-3_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGO2Gby2+jQOcHWlQRAuSfAJ90Nzg55V/PTUKnng756T+3Sv5jbACbBuE5
z3FO25gApobTBEuokPgcFio=
=aJAn
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 24 Jun 2007 19:38:20 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Fri Jan 5 07:59:56 2018;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.