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
cbc2edea
Commit
cbc2edea
authored
Jun 14, 2025
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added USE_ONLY_LG_RU=1 for use only linux-gaming.ru for all updates
parent
68ac3ae1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
18 deletions
+27
-18
functions_helper
data_from_portwine/scripts/functions_helper
+18
-13
start.sh
data_from_portwine/scripts/start.sh
+9
-5
No files found.
data_from_portwine/scripts/functions_helper
View file @
cbc2edea
...
...
@@ -2477,7 +2477,7 @@ pw_port_update () {
if
[[
!
-f
"
${
PORT_WINE_TMP_PATH
}
/scripts_ver"
]]
\
||
[[
!
$BRANCH
=
~
(
devel|master
)
]]
;
then
echo
"202
4
"
>
"
${
PORT_WINE_TMP_PATH
}
/scripts_ver"
echo
"202
5
"
>
"
${
PORT_WINE_TMP_PATH
}
/scripts_ver"
BRANCH_VERSION_UPDATE
=
"SCRIPTS_STABLE_VERSION"
BRANCH
=
"master"
fi
...
...
@@ -2487,21 +2487,26 @@ pw_port_update () {
URL_PP_GITEA
=
"https://git.linux-gaming.ru/CastroFidel/PortWINE/raw/branch/
${
BRANCH
}
/data_from_portwine/scripts/var"
pw_check_update
()
{
debug_timer
--start
-s
"UPDATE_ETERFUND"
if
!
timeout
2 curl
-f
-s
--list-only
"
$URL_ETERFUND
"
>
"
${
PORT_WINE_TMP_PATH
}
/curent_var_ver"
then
print_warning
"https://gitlab.eterfund.ru/ broken. Skip it..."
UPDATE_SKIP_ETERFUND
=
"1"
fi
debug_timer
--end
-s
"UPDATE_ETERFUND"
if
[[
$USE_ONLY_LG_RU
!=
"1"
]]
;
then
debug_timer
--start
-s
"UPDATE_ETERFUND"
if
!
timeout
2 curl
-f
-s
--list-only
"
$URL_ETERFUND
"
>
"
${
PORT_WINE_TMP_PATH
}
/curent_var_ver"
then
print_warning
"https://gitlab.eterfund.ru/ broken. Skip it..."
UPDATE_SKIP_ETERFUND
=
"1"
fi
debug_timer
--end
-s
"UPDATE_ETERFUND"
debug_timer
--start
-s
"UPDATE_GITHUB"
if
!
timeout
2 curl
-f
-s
--list-only
"
$URL_GITHUB
"
>
"
${
PORT_WINE_TMP_PATH
}
/curent_var_ver"
then
print_warning
"https://raw.githubusercontent.com/ broken. Skip it..."
debug_timer
--start
-s
"UPDATE_GITHUB"
if
!
timeout
2 curl
-f
-s
--list-only
"
$URL_GITHUB
"
>
"
${
PORT_WINE_TMP_PATH
}
/curent_var_ver"
then
print_warning
"https://raw.githubusercontent.com/ broken. Skip it..."
UPDATE_SKIP_GITHUB
=
"1"
fi
debug_timer
--end
-s
"UPDATE_GITHUB"
else
UPDATE_SKIP_ETERFUND
=
"1"
UPDATE_SKIP_GITHUB
=
"1"
fi
debug_timer
--end
-s
"UPDATE_GITHUB"
debug_timer
--start
-s
"UPDATE_PP_GITEA"
if
!
timeout
2 curl
-f
-s
--list-only
"
$URL_PP_GITEA
"
>
"
${
PORT_WINE_TMP_PATH
}
/curent_var_ver"
...
...
data_from_portwine/scripts/start.sh
View file @
cbc2edea
...
...
@@ -233,16 +233,20 @@ fi
# choose mirror
if
[[
-z
"
$MIRROR
"
]]
\
&&
[[
"
$LANGUAGE
"
==
"ru"
]]
\
&&
[[
"
$BRANCH
"
!=
"devel"
]]
&&
[[
"
$LANGUAGE
"
==
"ru"
]]
then
echo
'export MIRROR="CLOUD"'
>>
"
$USER_CONF
"
MIRROR
=
"CLOUD"
export
MIRROR
=
"CLOUD"
elif
[[
-z
"
$MIRROR
"
]]
;
then
echo
'export MIRROR="GITHUB"'
>>
"
$USER_CONF
"
MIRROR
=
"GITHUB"
export
MIRROR
=
"GITHUB"
fi
if
[[
$USE_ONLY_LG_RU
==
"1"
]]
;
then
export
MIRROR
=
"CLOUD"
edit_user_conf_from_gui MIRROR USE_ONLY_LG_RU
print_info
"Force used linux-gaming.ru for all updates.
\n
"
fi
export
MIRROR
print_info
"The first mirror in used:
$MIRROR
\n
"
# choose downloading covers from SteamGridDB or not
...
...
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