Commit 489efac7 authored by Vitaly Lipatov's avatar Vitaly Lipatov

prescriptions: add edge, zoom

parent f0542213
#!/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"
#!/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)"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment