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
e9a59af7
Commit
e9a59af7
authored
May 09, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play zoom: rewrite with VERSION using
parent
df88f1d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
zoom.sh
play.d/zoom.sh
+6
-7
No files found.
play.d/zoom.sh
View file @
e9a59af7
...
...
@@ -2,28 +2,27 @@
PKGNAME
=
zoom
SUPPORTEDARCHES
=
"x86_64 x86"
VERSION
=
"
$2
"
DESCRIPTION
=
"Zoom client from the official site"
.
$(
dirname
$0
)
/common.sh
[
"
$VERSION
"
=
"*"
]
&&
VERSION
=
"latest"
arch
=
$(
epm print info
--distro-arch
)
case
$arch
in
x86_64|amd64
)
version
=
latest
arch
=
$arch
;;
i586|i386
)
# latest does not work
version
=
5.4.53391.1108
VERSION
=
5.4.53391.1108
arch
=
i686
;;
*
)
fatal
"Unsupported arch
$arch
for
$(
epm print info
-d
)
"
esac
if
[
"
$(
epm print info
-s
)
"
=
"alt"
]
;
then
epm
install
--repack
https://zoom.us/client/
$version
/zoom_
$arch
.rpm
exit
fi
repack
=
''
[
"
$(
epm print info
-s
)
"
=
"alt"
]
&&
repack
=
"--repack"
# TODO: there are more complex distro dependent url
epm
install
"https://zoom.us/client/latest
/zoom_
$arch
.
$(
epm print info
-p
)
"
epm
install
$repack
"https://zoom.us/client/
$VERSION
/zoom_
$arch
.
$(
epm print info
-p
)
"
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