Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
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
etersoft
eepm
Commits
e8af6a78
Commit
e8af6a78
authored
Mar 26, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm pack: drop update_url_if_need_mirrored, we hope eget will help us
parent
1a0b64eb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
29 deletions
+0
-29
common.sh
pack.d/common.sh
+0
-28
yandex-browser-stable-codecs-ffmpeg-extra.sh
pack.d/yandex-browser-stable-codecs-ffmpeg-extra.sh
+0
-1
No files found.
pack.d/common.sh
View file @
e8af6a78
...
@@ -51,31 +51,3 @@ return_tar()
...
@@ -51,31 +51,3 @@ return_tar()
echo
$1
>
$RETURNTARNAME
||
fatal
"Can't save tar name
$1
to file
$RETURNTARNAME
"
echo
$1
>
$RETURNTARNAME
||
fatal
"Can't save tar name
$1
to file
$RETURNTARNAME
"
}
}
# copied from play.d/common.sh
check_url_is_accessible
()
{
local
res
epm tool eget
--check
"
$1
"
}
# update URL variable
update_url_if_need_mirrored
()
{
local
MIRROR
=
"
$1
"
local
SECONDURL
check_url_is_accessible
"
$URL
"
&&
return
if
[
-n
"
$MIRROR
"
]
;
then
check_url_is_accessible
"
$MIRROR
"
&&
URL
=
"
$MIRROR
"
return
fi
MIRROR
=
"https://mirror.eterfund.ru"
SECONDURL
=
"
$(
echo
"
$URL
"
|
sed
-e
"s|^.*://|
$MIRROR
/|"
)
"
check_url_is_accessible
"
$SECONDURL
"
&&
URL
=
"
$SECONDURL
"
&&
return
MIRROR
=
"https://mirror.eterfund.org"
SECONDURL
=
"
$(
echo
"
$URL
"
|
sed
-e
"s|^.*://|
$MIRROR
/|"
)
"
check_url_is_accessible
"
$SECONDURL
"
&&
URL
=
"
$SECONDURL
"
&&
return
}
pack.d/yandex-browser-stable-codecs-ffmpeg-extra.sh
View file @
e8af6a78
...
@@ -33,7 +33,6 @@ pack_ffmpeg() {
...
@@ -33,7 +33,6 @@ pack_ffmpeg() {
}
}
URL
=
"https://browser-resources.s3.yandex.net/linux/codecs.json"
URL
=
"https://browser-resources.s3.yandex.net/linux/codecs.json"
update_url_if_need_mirrored
# download ffmpeg with upstream script update-ffmpeg but with our pack_ffmpeg function
# download ffmpeg with upstream script update-ffmpeg but with our pack_ffmpeg function
SC
=
$(
mktemp
)
SC
=
$(
mktemp
)
...
...
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