Fixed wrong message during remove package(s) in apt-shell (#7618)

This commit is contained in:
Slava Semushin 2007-07-31 23:46:03 +07:00
parent e6ba1a5631
commit 2485721f59
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,14 @@
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
@@ -824,7 +824,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

@ -66,6 +66,9 @@ Patch51: apt-0.5.15lorg3-alt-exit-status.patch
# Fix for bug #5400
Patch52: apt-0.5.15lorg2-alt-i18n-apt-shell-typo.patch
# Fix for bug #7618
Patch53: apt-0.5.15lorg2-alt-src-apt-shell-wrong_message_fix.patch
# Normally not applied, but useful.
Patch101: apt-0.5.4cnc9-alt-getsrc-debug.patch
@ -274,6 +277,7 @@ This package contains method 'rsync' for APT.
%patch50 -p1
%patch51 -p1
%patch52 -p1
%patch53 -p1
find -type f -name \*.orig -delete