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
Ximper Linux
mkimage-profiles
Commits
3927ac21
Commit
3927ac21
authored
Mar 22, 2014
by
Michael Shigorin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
install2: more locale cleanups
My gut feeling is that we're not going to see glib2's messages a lot within installer environment anyways. And there's a forgotten /usr/share/X11/locale/ too.
parent
d871db16
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
90-install2-cleanup-l10n
...nstall2/install2/image-scripts.d/90-install2-cleanup-l10n
+5
-2
No files found.
features.in/install2/install2/image-scripts.d/90-install2-cleanup-l10n
View file @
3927ac21
#!/bin/sh
# drop unused l10n/i18n data
# preparations
rpm
-e
--nodeps
glib2-locales
# the fell swoop
find /usr/share/locale/
-type
f
\!
-name
'alterator*'
-delete
rm
-rf
/usr/share/zoneinfo/
{
posix,right
}
/
...
...
@@ -12,10 +15,10 @@ rm -f /usr/lib*/gconv/BIG5*
rm
-f
/usr/lib
*
/gconv/EBCDIC
*
# en_* variations
rm
-rf
/usr/
{
lib,share
}
/locale/en_[^U]
*
rm
-rf
/usr/
{
lib,share
{
,/X11
}
}
/locale/en_[^U]
*
# mods
rm
-rf
/usr/
{
lib,share
}
/locale/
*
@
*
rm
-rf
/usr/
{
lib,share
{
,/X11
}
}
/locale/
*
@
*
# non-utf8 locales
find /usr/lib/locale
-mindepth
1
-maxdepth
1
-type
d
\!
-name
'*.utf8'
-print0
|
...
...
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