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
43c6fce4
Commit
43c6fce4
authored
Dec 24, 2012
by
Michael Shigorin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
live: fix 20-locale
It shouldn't overwrite the pre-existing configuration but should fire if there's none.
parent
d94232fb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
20-locale
features.in/live/live/image-scripts.d/20-locale
+3
-1
No files found.
features.in/live/live/image-scripts.d/20-locale
View file @
43c6fce4
#!/bin/sh -efu
# if no means for locale setup are employed,
# it should still be
somewhat
reasonable
# it should still be
at least marginally
reasonable
# NB: keyboard layout not included!
if
[
-s
/etc/sysconfig/i18n
]
;
then
exit
0
;
fi
mkdir
-p
/etc/sysconfig
cat
>>
/etc/sysconfig/i18n
<<
_EOF_
# mkimage-profiles live 20-locale hook
...
...
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