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
489efac7
Commit
489efac7
authored
Oct 23, 2020
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
prescriptions: add edge, zoom
parent
f0542213
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
0 deletions
+43
-0
edge.sh
prescription.d/edge.sh
+15
-0
zoom.sh
prescription.d/zoom.sh
+28
-0
No files found.
prescription.d/edge.sh
0 → 100755
View file @
489efac7
#!/bin/sh
# TODO: common place
fatal
()
{
echo
"FATAL:
$*
"
>
&2
exit
1
}
[
"
$1
"
!=
"--run"
]
&&
echo
"Install Microsoft Edge browser (dev) from the official site"
&&
exit
[
"
$(
distro_info
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
# epm uses eget to download * names
epm
install
"https://packages.microsoft.com/repos/edge/pool/main/m/microsoft-edge-dev/microsoft-edge-*_amd64.deb"
prescription.d/zoom.sh
0 → 100755
View file @
489efac7
#!/bin/sh
# TODO: common place
fatal
()
{
echo
"FATAL:
$*
"
>
&2
exit
1
}
[
"
$1
"
!=
"--run"
]
&&
echo
"Install Zoom client from the official site"
&&
exit
arch
=
$(
distro_info
--distro-arch
)
case
$arch
in
x86_64|amd64
)
arch
=
$arch
;;
i586|i386
)
arch
=
$arch
;;
*
)
fatal
"Unsupported arch
$arch
for
$(
distro_info
-d
)
"
esac
if
[
"
$(
distro_info
-d
)
"
=
"ALTLinux"
]
;
then
epm
install
https://zoom.us/client/latest/zoom_
$arch
.rpm
exit
fi
# TODO: there are more complex distro dependent url
epm
install
https://zoom.us/client/latest/zoom_
$arch
.
"
$(
distro_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