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
1
Merge Requests
1
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
b727d9d4
Commit
b727d9d4
authored
Jul 09, 2025
by
Ivan Mazhukin
Committed by
Vitaly Lipatov
Jul 14, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play vivaldi: fix download (eterbug #17865)
parent
c5c565db
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
5 deletions
+26
-5
vivaldi.sh
play.d/vivaldi.sh
+26
-5
No files found.
play.d/vivaldi.sh
View file @
b727d9d4
...
@@ -10,8 +10,10 @@ TIPS="Run 'epm play vivaldi=snapshot' to install snapshot version of the browser
...
@@ -10,8 +10,10 @@ TIPS="Run 'epm play vivaldi=snapshot' to install snapshot version of the browser
.
$(
dirname
$0
)
/common.sh
.
$(
dirname
$0
)
/common.sh
pkgtype
=
"
$(
epm print info
-p
)
"
rpmarch
=
"
$(
epm print info
-a
)
"
arch
=
"
$(
epm print info
--debian-arch
)
"
arch
=
"
$(
epm print info
--debian-arch
)
"
case
"
$arch
"
in
case
"
$arch
"
in
amd64|aarch64|i386|armhf
)
amd64|aarch64|i386|armhf
)
;;
;;
...
@@ -35,20 +37,39 @@ warn_version_is_not_supported
...
@@ -35,20 +37,39 @@ warn_version_is_not_supported
# epm uses eget to download * names
# epm uses eget to download * names
#epm install "https://repo.vivaldi.com/archive/deb/pool/main/$(epm print constructname $PKGNAME "*" $arch deb)"
#epm install "https://repo.vivaldi.com/archive/deb/pool/main/$(epm print constructname $PKGNAME "*" $arch deb)"
if
[
"
$PKGNAME
"
=
"
$BASEPKGNAME
-snapshot"
]
;
then
__get_snapshot
(){
# copied from install-vivaldi.sh script
# copied from install-vivaldi.sh script
# https://help.vivaldi.com/desktop/install-update/install-snapshots-on-non-deb-rpm-distros/
# https://help.vivaldi.com/desktop/install-update/install-snapshots-on-non-deb-rpm-distros/
DEBARCH
=
$arch
DEBARCH
=
$arch
if
[
"
$VERSION
"
=
"*"
]
;
then
if
[
"
$VERSION
"
=
"*"
]
;
then
VERSION
=
$(
eget
-O-
"https://repo.vivaldi.com/archive/deb/dists/stable/main/binary-
$DEBARCH
/Packages.gz"
|
gzip
-d
|
grep
-A6
-x
"Package:
$PKGNAME
"
|
sed
-n
's/^Version: \(\([0-9]\+\.\)\{3\}[0-9]\+-[0-9]\+\)/\1/p'
|
sort
-t
.
-k
1,1n
-k
2,2n
-k
3,3n
-k
4,4n |
tail
-n
1
)
#'
VERSION
=
$(
eget
-O-
"https://repo.vivaldi.com/archive/deb/dists/stable/main/binary-
$DEBARCH
/Packages.gz"
|
gzip
-d
|
grep
-A6
-x
"Package:
$PKGNAME
"
|
sed
-n
's/^Version: \(\([0-9]\+\.\)\{3\}[0-9]\+-[0-9]\+\)/\1/p'
|
sort
-t
.
-k
1,1n
-k
2,2n
-k
3,3n
-k
4,4n |
tail
-n
1
)
#'
fi
fi
PKGURL
=
"https://downloads.vivaldi.com/snapshot/vivaldi-snapshot_
${
VERSION
}
_
$arch
.deb"
PKGURL
=
"https://downloads.vivaldi.com/snapshot/vivaldi-snapshot_
${
VERSION
}
_
$arch
.deb"
else
}
__get_stable
(){
if
[
"
$VERSION
"
=
"*"
]
;
then
if
[
"
$VERSION
"
=
"*"
]
;
then
PKGURL
=
"
$(
eget
--list
--latest
https://vivaldi.com/ru/download
""
)
"
#"
case
$pkgtype
in
rpm
)
mask
=
"vivaldi-stable-*
$rpmarch
.
$pkgtype
"
;;
*
)
mask
=
"vivaldi-stable_*
$arch
.
$pkgtype
"
;;
esac
PKGURL
=
"
$(
eget
--list
--latest
https://vivaldi.com/ru/download
"
$mask
"
)
"
else
else
PKGURL
=
"https://downloads.vivaldi.com/stable/
$(
epm print constructname
$PKGNAME
"
$VERSION
"
$arch
deb
)
"
PKGURL
=
"https://downloads.vivaldi.com/stable/
$(
epm print constructname
$PKGNAME
$VERSION
$arch
deb
)
"
fi
fi
}
if
[
"
$PKGNAME
"
=
"
$BASEPKGNAME
-snapshot"
]
;
then
__get_snapshot
else
__get_stable
fi
fi
install_pkgurl
install_pkgurl
...
...
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