state: make some of the interactive messages line up with apt which weren't already

cute-signatures
William Pitcock 2011-04-26 22:49:06 -05:00
parent 9901058891
commit 9f219e4f46
1 changed files with 3 additions and 3 deletions

View File

@ -989,10 +989,10 @@ int apk_state_commit(struct apk_state *state)
"The following NEW packages will be installed"); "The following NEW packages will be installed");
dump_packages(state, cmp_upgrade, dump_packages(state, cmp_upgrade,
"The following packages will be upgraded"); "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) ? (size_diff < 0) ?
"disk space will be freed" : "disk space will be freed." :
"additional disk space will be used"); "additional disk space will be used.");
} }
if (apk_flags & APK_INTERACTIVE) { if (apk_flags & APK_INTERACTIVE) {
printf("Do you want to continue [Y/n]? "); printf("Do you want to continue [Y/n]? ");