summaryrefslogtreecommitdiffstats
path: root/main/apk-tools/0001-state-Default-interactive-action-is-Yes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/apk-tools/0001-state-Default-interactive-action-is-Yes.patch')
-rw-r--r--main/apk-tools/0001-state-Default-interactive-action-is-Yes.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/main/apk-tools/0001-state-Default-interactive-action-is-Yes.patch b/main/apk-tools/0001-state-Default-interactive-action-is-Yes.patch
deleted file mode 100644
index b025a9b78..000000000
--- a/main/apk-tools/0001-state-Default-interactive-action-is-Yes.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From d67ee300b6cbd9deaaa8c5e506e836e253f7b77d Mon Sep 17 00:00:00 2001
-From: Natanael Copa <ncopa@alpinelinux.org>
-Date: Fri, 25 Dec 2009 07:02:32 +0000
-Subject: [PATCH 1/2] state: Default interactive action is Yes
-
-When pressing only <enter> on the question "..continue [Y/n]?" then
-lets take that as a "yes"
----
- src/state.c | 2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/src/state.c b/src/state.c
-index 94afe86..1bd29bf 100644
---- a/src/state.c
-+++ b/src/state.c
-@@ -771,7 +771,7 @@ int apk_state_commit(struct apk_state *state,
- printf("Do you want to continue [Y/n]? ");
- fflush(stdout);
- r = fgetc(stdin);
-- if (r != 'y' && r != 'Y')
-+ if (r != 'y' && r != 'Y' && r != '\n')
- return -1;
- }
- }
---
-1.6.5.7
-