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
97317205
Commit
97317205
authored
Mar 31, 2024
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play.d: add override_pkgname and use it
parent
805b80c1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
7 deletions
+10
-7
brave.sh
play.d/brave.sh
+1
-1
common.sh
play.d/common.sh
+6
-0
opera.sh
play.d/opera.sh
+2
-2
tonkeeper.sh
play.d/tonkeeper.sh
+1
-4
No files found.
play.d/brave.sh
View file @
97317205
...
...
@@ -30,7 +30,7 @@ if [ -z "$PKGURL" ] ; then
# force use beta if can't get stable version
if
[
"
$PKGNAME
"
=
"
$BASEPKGNAME
"
]
;
then
TOREMOVEPKG
=
$PKGNAME
PKGNAME
=
$BASEPKGNAME
-beta
override_pkgname
"
$BASEPKGNAME
-beta"
PKGURL
=
$(
eget
--list
--latest
https://github.com/brave/brave-browser/releases
"
$(
epm print constructname
$PKGNAME
"
$VERSION
"
)
"
)
[
-n
"
$PKGURL
"
]
||
fatal
"Can't get package URL"
...
...
play.d/common.sh
View file @
97317205
...
...
@@ -98,6 +98,12 @@ warn_version_is_not_supported()
[
"
$VERSION
"
=
"*"
]
||
echo
-e
"
\n
Warning: Specifying the version is not supported by vendor. Downloading latest version ...
\n
"
}
override_pkgname
()
{
PKGNAME
=
"
$1
"
export
EEPM_INTERNAL_PKGNAME
=
"
$PKGNAME
"
}
get_latest_version
()
{
local
ver
...
...
play.d/opera.sh
View file @
97317205
...
...
@@ -15,12 +15,12 @@ arch="amd64"
epm
install
--skip-installed
ffmpeg-plugin-browser
||
epm
install
--skip-installed
chromium-codecs-ffmpeg-extra
||
epm play chromium-codecs-ffmpeg-extra
if
[
"
$(
epm print info
-p
)
"
=
"rpm"
]
;
then
PKGNAME
=
"
${
PKGNAME
/-/_
}
"
override_pkgname
"
${
PKGNAME
/-/_
}
"
# they put all branch here (rpm only): https://rpm.opera.com/rpm/
[
"
$(
epm print info
-s
)
"
=
"alt"
]
&&
repack
=
'--repack'
||
repack
=
''
PKGURL
=
"https://rpm.opera.com/rpm/
$PKGNAME
-
$VERSION
-linux-release-x64-signed.rpm"
epm
install
$repack
$PKGURL
epm
install
$repack
"
$PKGURL
"
exit
fi
...
...
play.d/tonkeeper.sh
View file @
97317205
...
...
@@ -15,11 +15,8 @@ case "$pkgtype" in
rpm
)
[
"
$VERSION
"
=
"*"
]
&&
VERSION
=
"[0-9]*"
||
VERSION
=
"
$VERSION
-1"
;;
deb
)
PKGNAME
=
tonkeeper
;;
*
)
PKGNAME
=
tonkeeper
override_pkgname
"tonkeeper"
pkgtype
=
"deb"
;;
esac
...
...
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