Commit dfbf6eb6 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: add trueconf-server

parent 77d30f39
#!/bin/sh
PKGNAME=trueconf-server
SUPPORTEDARCHES="x86_64"
VERSION="$2"
DESCRIPTION="TrueConf server for Linux from the official site"
. $(dirname $0)/common.sh
[ "$VERSION" = "*" ] && VERSION="[0-9]*"
epmopt=''
distrversion=$(epm print info -v)
case "$(epm print info -e)" in
ALTLinux/p10|ALTLinux/Sisyphus)
URL="https://mirror.trueconf.ru/altlinux/p10/x86_64/RPMS.non-free/trueconf-server-${VERSION}*.x86_64.rpm"
;;
ALTLinux/p9)
URL="https://mirror.trueconf.ru/altlinux/p9/x86_64/RPMS.non-free/trueconf-${VERSION}*.x86_64.rpm"
;;
AstraLinuxSE/1.7*)
URL="https://mirror.trueconf.ru/astra17/pool/non-free/t/trueconf-server/trueconf_server_${VERSION}*_amd64.deb"
;;
RedOS/7.*)
URL="https://mirror.trueconf.ru/redos/$distrversion/x86_64/release/trueconf-server-${VERSION}*.x86_64.rpm"
;;
*)
fatal "$(epm print info -e) is not supported"
esac
# --repack includes --noscripts
epm install $epmopt "$URL" || exit
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