aboutsummaryrefslogtreecommitdiffstats
path: root/main/apk-tools/0007-state-make-some-of-the-interactive-messages-line-up-.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/apk-tools/0007-state-make-some-of-the-interactive-messages-line-up-.patch')
-rw-r--r--main/apk-tools/0007-state-make-some-of-the-interactive-messages-line-up-.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/main/apk-tools/0007-state-make-some-of-the-interactive-messages-line-up-.patch b/main/apk-tools/0007-state-make-some-of-the-interactive-messages-line-up-.patch
new file mode 100644
index 0000000000..3f32121314
--- /dev/null
+++ b/main/apk-tools/0007-state-make-some-of-the-interactive-messages-line-up-.patch
@@ -0,0 +1,31 @@
+From 9f219e4f466806dd163a75373af85cd92eee66cf Mon Sep 17 00:00:00 2001
+From: William Pitcock <nenolod@dereferenced.org>
+Date: Tue, 26 Apr 2011 22:49:06 -0500
+Subject: [PATCH 7/7] state: make some of the interactive messages line up
+ with apt which weren't already
+
+---
+ src/state.c | 6 +++---
+ 1 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/src/state.c b/src/state.c
+index 6de3629..8641e9b 100644
+--- a/src/state.c
++++ b/src/state.c
+@@ -989,10 +989,10 @@ int apk_state_commit(struct apk_state *state)
+ "The following NEW packages will be installed");
+ dump_packages(state, cmp_upgrade,
+ "The following packages will be upgraded");
+- printf("%d kB of %s\n", abs(size_diff),
++ printf("After this operation, %d kB of %s\n", abs(size_diff),
+ (size_diff < 0) ?
+- "disk space will be freed" :
+- "additional disk space will be used");
++ "disk space will be freed." :
++ "additional disk space will be used.");
+ }
+ if (apk_flags & APK_INTERACTIVE) {
+ printf("Do you want to continue [Y/n]? ");
+--
+1.7.4.5
+