Apply apt-0.5.15lorg2-alt-src-apt-shell-wrong_message_fix.patch

Added in commit 2485721:
Fixed wrong message during remove package(s) in apt-shell (#7618)
This commit is contained in:
Gleb Fotengauer-Malinovskiy 2014-05-16 21:04:23 +04:00
parent 820936e9f8
commit 81250f42d6
2 changed files with 1 additions and 15 deletions

View File

@ -1,14 +0,0 @@
https://bugzilla.altlinux.org/show_bug.cgi?id=7618
--- apt/cmdline/apt-shell.cc.orig 2007-07-31 23:23:46 +0700
+++ apt/cmdline/apt-shell.cc 2007-07-31 23:42:10 +0700
@@ -829,7 +829,7 @@ bool ShowChanges(CacheFile &Cache,pkgDep
ioprintf(c1out,_("After unpacking will need more %sB of disk space.\n"),
SizeToStr(UsrSize).c_str());
else
- ioprintf(c1out,_("After unpacking will need less %sB of disk space.\n"),
+ ioprintf(c1out,_("After unpacking %sB disk space will be freed.\n"),
SizeToStr(-1*UsrSize).c_str());
} else {
double DebBytes = Cache->DebSize();

View File

@ -829,7 +829,7 @@ bool ShowChanges(CacheFile &Cache,pkgDepCache::State *State=NULL)
ioprintf(c1out,_("After unpacking will need more %sB of disk space.\n"),
SizeToStr(UsrSize).c_str());
else
ioprintf(c1out,_("After unpacking will need less %sB of disk space.\n"),
ioprintf(c1out,_("After unpacking %sB disk space will be freed.\n"),
SizeToStr(-1*UsrSize).c_str());
} else {
double DebBytes = Cache->DebSize();