Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PortWINE
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
Mikhail Tergoev
PortWINE
Commits
9c3d3e37
Commit
9c3d3e37
authored
Jul 25, 2025
by
Htylol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pw_skip_get_info: Fixed the operation of LOCALE_LIST
If the system uses utf8 instead of just utf, the list will not work
parent
c33d9ba3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
functions_helper
data_from_portwine/scripts/functions_helper
+4
-3
No files found.
data_from_portwine/scripts/functions_helper
View file @
9c3d3e37
...
@@ -2876,12 +2876,13 @@ pw_skip_get_info () {
...
@@ -2876,12 +2876,13 @@ pw_skip_get_info () {
if
[[
-f
"
${
PW_TMPFS_PATH
}
/locale.tmp"
]]
;
then
if
[[
-f
"
${
PW_TMPFS_PATH
}
/locale.tmp"
]]
;
then
GET_LOCALE_LIST
=
"ru_RU.utf en_US.utf zh_CN.utf ja_JP.utf ko_KR.utf"
GET_LOCALE_LIST
=
"ru_RU.utf en_US.utf zh_CN.utf ja_JP.utf ko_KR.utf"
unset
LOCALE_LIST
unset
LOCALE_LIST LOCALE_UTF
[[
$(
<
"
${
PW_TMPFS_PATH
}
/locale.tmp"
)
=
~ utf8
]]
&&
LOCALE_UTF
=
"8"
for
LOCALE
in
$GET_LOCALE_LIST
;
do
for
LOCALE
in
$GET_LOCALE_LIST
;
do
if
[[
$(
<
"
${
PW_TMPFS_PATH
}
/locale.tmp"
)
=
~
$LOCALE
]]
;
then
if
[[
$(
<
"
${
PW_TMPFS_PATH
}
/locale.tmp"
)
=
~
$LOCALE
]]
;
then
if
[[
-n
"
$LOCALE_LIST
"
]]
if
[[
-n
"
$LOCALE_LIST
"
]]
then
LOCALE_LIST+
=
"!
$LOCALE
"
then
LOCALE_LIST+
=
"!
$LOCALE
$LOCALE_UTF
"
else
LOCALE_LIST
=
"
$LOCALE
"
else
LOCALE_LIST
=
"
$LOCALE
$LOCALE_UTF
"
fi
fi
fi
fi
done
done
...
...
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