Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Anton Palgunov
mkimage-profiles
Commits
659bee91
Commit
659bee91
authored
Mar 24, 2023
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
l10n: set LANG to /etc/sysconfig/i18n, /etc/locale.conf
parent
70284be0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
50-l10n-sysconfig
features.in/l10n/rootfs/image-scripts.d/50-l10n-sysconfig
+9
-0
No files found.
features.in/l10n/rootfs/image-scripts.d/50-l10n-sysconfig
View file @
659bee91
...
...
@@ -3,6 +3,9 @@
langlist
=
"/etc/alterator/sysconfig/lang/langlist.all"
langlist_temp
=
"
$langlist
"
.temp
locales
=
"
$GLOBAL_LOCALES
"
locale
=
"
$GLOBAL_LOCALE
"
systemd_locale
=
/etc/locale.conf
sysv_locale
=
/etc/sysconfig/i18n
[
-f
"
$langlist
"
]
||
exit
0
[
-n
"
$locales
"
]
||
exit
0
...
...
@@ -14,3 +17,9 @@ for lang in $locales; do
done
mv
"
$langlist_temp
"
"
$langlist
"
[
-n
"
$locale
"
]
||
exit
0
echo
LANG
=
"
$locale
"
.UTF8
>
"
$systemd_locale
"
echo
LANG
=
"
$locale
"
.UTF8
>
"
$sysv_locale
"
echo
SUPPORTED
=
"
$locale
"
.UTF8
>>
"
$sysv_locale
"
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