aboutsummaryrefslogtreecommitdiffstats
path: root/main/apk-tools/0002-upgrade-Improve-english-messages-on-apk-tools-baseli.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/apk-tools/0002-upgrade-Improve-english-messages-on-apk-tools-baseli.patch')
-rw-r--r--main/apk-tools/0002-upgrade-Improve-english-messages-on-apk-tools-baseli.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/main/apk-tools/0002-upgrade-Improve-english-messages-on-apk-tools-baseli.patch b/main/apk-tools/0002-upgrade-Improve-english-messages-on-apk-tools-baseli.patch
new file mode 100644
index 0000000000..178b66d0e2
--- /dev/null
+++ b/main/apk-tools/0002-upgrade-Improve-english-messages-on-apk-tools-baseli.patch
@@ -0,0 +1,33 @@
+From 2911d0cad2a2aceda8f617754d5290f6f3ae96f4 Mon Sep 17 00:00:00 2001
+From: William Pitcock <nenolod@dereferenced.org>
+Date: Sat, 9 Apr 2011 08:05:49 -0500
+Subject: [PATCH 2/7] upgrade: Improve english messages on apk-tools/baselibs
+ upgrade transaction.
+
+---
+ src/upgrade.c | 4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/upgrade.c b/src/upgrade.c
+index 4db0c00..ec0dc91 100644
+--- a/src/upgrade.c
++++ b/src/upgrade.c
+@@ -46,13 +46,13 @@ int apk_do_self_upgrade(struct apk_database *db, struct apk_state *state)
+ return 0;
+ }
+
+- apk_message("Uprading first to new apk-tools:");
++ apk_message("Upgrading critical system libraries and apk-tools:");
+ state->print_ok = 0;
+ r = apk_state_commit(state);
+ apk_state_unref(state);
+ apk_db_close(db);
+
+- apk_message("Performing rest of the operation:");
++ apk_message("Continuing the upgrade transaction with new apk-tools:");
+ execvp(apk_argv[0], apk_argv);
+
+ apk_error("PANIC! Failed to re-execute new apk-tools!");
+--
+1.7.4.5
+