summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2013-11-13 00:44:47 +0100
committerGuillem Jover <guillem@debian.org>2013-12-07 07:43:22 +0100
commit3f46417a52669ac2d7753e544dbd4962f245c499 (patch)
treebd567865321bbd0511144c972d466f82932f7a0d /src
parentaecfb882c7debed9e76eeb9a5fdd9e12b066d814 (diff)
downloaddpkg-3f46417a52669ac2d7753e544dbd4962f245c499.tar.gz
dpkg: Move newline from beginning to end of prompt strings
Diffstat (limited to 'src')
-rw-r--r--src/configure.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/configure.c b/src/configure.c
index da650f5ba..cb33073d9 100644
--- a/src/configure.c
+++ b/src/configure.c
@@ -704,21 +704,23 @@ promptconfaction(struct pkginfo *pkg, const char *cfgfile,
/* Flush the terminal's input in case the user involuntarily
* typed some characters. */
tcflush(STDIN_FILENO, TCIFLUSH);
- fprintf(stderr, _("\nConfiguration file `%s'"), cfgfile);
+ fputs("\n", stderr);
if (strcmp(cfgfile, realold))
- fprintf(stderr, _(" (actually `%s')"), realold);
+ fprintf(stderr, _("Configuration file '%s' (actually '%s')\n"),
+ cfgfile, realold);
+ else
+ fprintf(stderr, _("Configuration file '%s'\n"), cfgfile);
if (what & cfof_isnew) {
fprintf(stderr,
- _("\n"
- " ==> File on system created by you or by a script.\n"
+ _(" ==> File on system created by you or by a script.\n"
" ==> File also in package provided by package maintainer.\n"));
} else {
fprintf(stderr, !useredited ?
- _("\n Not modified since installation.\n") :
+ _(" Not modified since installation.\n") :
!(what & cfof_userrmd) ?
- _("\n ==> Modified (by you or by a script) since installation.\n") :
- _("\n ==> Deleted (by you or by a script) since installation.\n"));
+ _(" ==> Modified (by you or by a script) since installation.\n") :
+ _(" ==> Deleted (by you or by a script) since installation.\n"));
fprintf(stderr, distedited ?
_(" ==> Package distributor has shipped an updated version.\n") :