aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-conf/0001-setup-disk-dont-use-local-in-global-scope.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-12-21 20:47:18 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-12-21 20:47:18 +0000
commitd6b12c6179488837ba49044f038e13bb6aa89606 (patch)
treeef5426a82509d80e66a45e9e40a3ccb90f01cf32 /main/alpine-conf/0001-setup-disk-dont-use-local-in-global-scope.patch
parent13f43bba56dd7a399df5e6f6cab04589170c7871 (diff)
downloadaports-d6b12c6179488837ba49044f038e13bb6aa89606.tar.bz2
aports-d6b12c6179488837ba49044f038e13bb6aa89606.tar.xz
main/alpine-conf: fix setup-disk
Diffstat (limited to 'main/alpine-conf/0001-setup-disk-dont-use-local-in-global-scope.patch')
-rw-r--r--main/alpine-conf/0001-setup-disk-dont-use-local-in-global-scope.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/main/alpine-conf/0001-setup-disk-dont-use-local-in-global-scope.patch b/main/alpine-conf/0001-setup-disk-dont-use-local-in-global-scope.patch
new file mode 100644
index 0000000000..3d745026df
--- /dev/null
+++ b/main/alpine-conf/0001-setup-disk-dont-use-local-in-global-scope.patch
@@ -0,0 +1,25 @@
+From f133bfa2ddf73b07e4ecf92d724ed7c416f4ff81 Mon Sep 17 00:00:00 2001
+From: Natanael Copa <ncopa@alpinelinux.org>
+Date: Wed, 21 Dec 2016 20:44:08 +0000
+Subject: [PATCH] setup-disk: dont use local in global scope
+
+---
+ setup-disk.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup-disk.in b/setup-disk.in
+index 588d37f..ab785fb 100644
+--- a/setup-disk.in
++++ b/setup-disk.in
+@@ -1031,7 +1031,7 @@ if [ -n "$diskdevs" ] && [ -z "$DISK_MODE" ]; then
+ while true; do
+ echo "The following $disk_is_or_disks_are selected${USE_LVM:+ (with LVM)}:"
+ show_disk_info $diskdevs
+- local _lvm=${USE_LVM:-", 'lvm'"}
++ _lvm=${USE_LVM:-", 'lvm'"}
+ echon "How would you like to use $it_them? ('sys', 'data'${_lvm#_lvm} or '?' for help) [?] "
+ default_read answer '?'
+ case "$answer" in
+--
+2.11.0
+