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
Vladislav
PortWINE
Commits
e2d85455
Commit
e2d85455
authored
Sep 26, 2024
by
Vladislav
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modern locale cycle
parent
2166ce81
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
start.sh
data_from_portwine/scripts/start.sh
+3
-3
No files found.
data_from_portwine/scripts/start.sh
View file @
e2d85455
...
@@ -347,10 +347,10 @@ if [[ "${SKIP_CHECK_UPDATES}" != 1 ]] ; then
...
@@ -347,10 +347,10 @@ if [[ "${SKIP_CHECK_UPDATES}" != 1 ]] ; 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
for
LOCALE
in
$GET_LOCALE_LIST
;
do
for
LOCALE
in
$GET_LOCALE_LIST
;
do
if
grep
-e
"
$LOCALE
"
"
${
PW_TMPFS_PATH
}
/locale.tmp"
&>/dev/null
;
then
if
[[
$(
<
"
${
PW_TMPFS_PATH
}
/locale.tmp"
)
=
~
$LOCALE
]]
;
then
if
[[
-n
"
$LOCALE_LIST
"
]]
if
[[
-n
"
$LOCALE_LIST
"
]]
then
LOCALE_LIST+
=
"!
$
(
grep
-e
"
$LOCALE
"
"
${
PW_TMPFS_PATH
}
/locale.tmp"
)
"
then
LOCALE_LIST+
=
"!
$
LOCALE
"
else
LOCALE_LIST
=
"
$
(
grep
-e
"
$LOCALE
"
"
${
PW_TMPFS_PATH
}
/locale.tmp"
)
"
else
LOCALE_LIST
=
"
$
LOCALE
"
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