Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Config
Commits
d7b283e7
Commit
d7b283e7
authored
May 08, 2018
by
Igor Pecovnik
Browse files
Changing locales fix and typo
parent
8ae31c33
Changes
2
Hide whitespace changes
Inline
Side-by-side
debian-config-jobs
View file @
d7b283e7
...
...
@@ -662,6 +662,9 @@ function jobs ()
#
"Locales"
)
dpkg-reconfigure locales
source
/etc/default/locale
sed
-i
"s/^LANGUAGE=.*/LANGUAGE=
$LANG
/"
/etc/default/locale
export
LANGUAGE
=
$LANG
;;
# Change keyboard
...
...
debian-config-submenu
View file @
d7b283e7
...
...
@@ -249,7 +249,7 @@ while true; do
LIST
=()
LIST+
=(
"Timezone"
"Change timezone
\Z
5(
$(
date
+%Z
)
)
\Z
0"
)
LIST+
=(
"Locales"
"Reconfigure language
\Z
5(
$(
locale |
grep
LANGUAGE |
cut
-d
=
-f2
|
cut
-d_
-f1
)
)
\Z
0 and character set"
)
LIST+
=(
"Keyboard"
"Change console keyboard layout (
\Z
5
(
$(
cat
/etc/default/keyboard |
grep
XKBLAYOUT |
grep
-o
'".*"'
|
sed
's/"//g'
)
\Z
0)"
)
LIST+
=(
"Keyboard"
"Change console keyboard layout (
\Z
5
$(
cat
/etc/default/keyboard |
grep
XKBLAYOUT |
grep
-o
'".*"'
|
sed
's/"//g'
)
\Z
0)"
)
LIST+
=(
"Hostname"
"Change your hostname
\Z
5(
$(
cat
/etc/hostname
)
)
\Z
0"
)
[[
-f
/etc/apt/sources.list.d/armbian.list
]]
&&
LIST+
=(
"Mirror"
"Change repository server"
)
LIST+
=(
"Welcome"
"Toggle welcome screen items"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment