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
eec3a11c
Commit
eec3a11c
authored
Mar 01, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play yandex-browser: allow install native rpm for other rpm systems than ALT
parent
e018530b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
yandex-browser.sh
play.d/yandex-browser.sh
+11
-6
No files found.
play.d/yandex-browser.sh
View file @
eec3a11c
...
...
@@ -16,11 +16,11 @@ SUPPORTEDARCHES="x86_64"
.
$(
dirname
$0
)
/common.sh
if
epm installed
yandex-browser-stable
&&
[
"
$(
get_pkgvendor yandex-browser-stable
)
"
=
"YANDEX LLC"
]
;
then
if
[
"
$(
epm print field Vendor
for
package
yandex-browser-stable
)
"
=
"Yandex Browser Team <browser@support.yandex.ru>"
]
;
then
echo
"Package
yandex-browser-stable
is already installed manually from https://browser.yandex.ru/."
if
epm installed
$PKGNAME
&&
[
"
$(
get_pkgvendor
$PKGNAME
)
"
=
"YANDEX LLC"
]
;
then
if
[
"
$(
epm print field Vendor
for
package
$PKGNAME
)
"
=
"Yandex Browser Team <browser@support.yandex.ru>"
]
;
then
echo
"Package
$PKGNAME
is already installed manually from https://browser.yandex.ru/."
else
echo
"Package
yandex-browser-stable
is already installed from ALT repository."
echo
"Package
$PKGNAME
is already installed from ALT repository."
fi
exit
0
fi
...
...
@@ -31,7 +31,12 @@ fi
URL
=
"https://repo.yandex.ru/yandex-browser"
update_url_if_need_mirrored
||
update_url_if_need_mirrored https://download.etersoft.ru/pub/download/yandex-browser
# epm uses eget to download * names
epm
install
"
$URL
/deb/pool/main/y/
$PKGNAME
/
$(
epm print constructname
$PKGNAME
"*"
amd64 deb
)
"
||
exit
if
[
"
$(
epm print info
-s
)
"
=
"alt"
]
||
[
"
$(
epm print info
-p
)
"
!=
"rpm"
]
;
then
# epm uses eget to download * names
epm
install
"
$URL
/deb/pool/main/y/
$PKGNAME
/
$(
epm print constructname
$PKGNAME
"*"
amd64 deb
)
"
||
exit
else
# https://repo.yandex.ru/yandex-browser/rpm/stable/x86_64/yandex-browser-stable-23.1.1.1114-1.x86_64.rpm
epm
install
"
$URL
/rpm/stable/x86_64/
$(
epm print constructname
$PKGNAME
"*"
x86_64 rpm
)
"
||
exit
fi
epm play yandex-browser-codecs-ffmpeg-extra
$BRANCH
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