aboutsummaryrefslogtreecommitdiffstats
path: root/main/apk-tools/0007-state-make-some-of-the-interactive-messages-line-up-.patch
blob: 3f32121314a0e87641e6d56840f22ceda19c7f8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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