aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-baselayout/0001-profile-set-LANG-en.utf8.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-05-17 09:26:05 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-05-17 09:26:05 +0000
commit8b2da88e8e533e78dfec86f9d1ed4e5cadfa4ca8 (patch)
tree167a3f1fa46cc1e7d1e425b67f971382b67def25 /main/alpine-baselayout/0001-profile-set-LANG-en.utf8.patch
parent8259dc7fc4d8d5cb08626d2ec0782aa0ad6d0b1b (diff)
downloadaports-8b2da88e8e533e78dfec86f9d1ed4e5cadfa4ca8.tar.bz2
aports-8b2da88e8e533e78dfec86f9d1ed4e5cadfa4ca8.tar.xz
main/alpine-baselayout: improve utf8 experience
set LANG to utf8. it makes some busybox apps work with utf8. Thanks to StarWarsFan for pointing this out.
Diffstat (limited to 'main/alpine-baselayout/0001-profile-set-LANG-en.utf8.patch')
-rw-r--r--main/alpine-baselayout/0001-profile-set-LANG-en.utf8.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/main/alpine-baselayout/0001-profile-set-LANG-en.utf8.patch b/main/alpine-baselayout/0001-profile-set-LANG-en.utf8.patch
new file mode 100644
index 0000000000..45a48aca36
--- /dev/null
+++ b/main/alpine-baselayout/0001-profile-set-LANG-en.utf8.patch
@@ -0,0 +1,23 @@
+From 9cb5ad198d4ebb1d51441ee81db0bdc63e22bf1c Mon Sep 17 00:00:00 2001
+From: Natanael Copa <ncopa@alpinelinux.org>
+Date: Fri, 17 May 2013 09:18:52 +0000
+Subject: [PATCH] profile: set LANG=en.utf8
+
+fixes utf8 in busybox
+---
+ profile | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/profile b/profile
+index bb99d29..5144f7d 100644
+--- a/profile
++++ b/profile
+@@ -1,4 +1,5 @@
+ export CHARSET=UTF-8
++export LANG=en.utf8
+ export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ export PAGER=less
+ export PS1='\h:\w\$ '
+--
+1.8.2.3
+