Package: dpkg
Version: 1.13.22
Severity: minor
Hi,
I always wondered which scheme dpkg follows when installing packages and
writing the "Setting up ..." lines. Sometimes, empty lines are interspersed.
Looking into the code, the reason is in src/configure.c where a putchar('\n');
is done when maintainer_script_installed() returns != 0. Maybe someone wanted
to make sure that after execution of maintainer scripts, a proper CR is done?
On the other hand side, all the other invocations of
maintainer_script_installed() (including the "post-installation" ones like the
above one) don't handle it that way.
Removing the if(){} around the maintainer_script_installed() including the
putchar() seems to fix the issue.
Or did I miss something?
Thanks,
Roland
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_GB.UTF-8)
Versions of packages dpkg depends on:
ii coreutils 5.97-5 The GNU core utilities
ii libc6 2.3.6.ds1-5 GNU C Library: Shared libraries
dpkg recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]