commfort-client.sh 656 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
#!/bin/sh

PKGNAME=commfort-client
SUPPORTEDARCHES="x86_64 x86"
# just a concept
DESCRIPTION='' #"CommFort WINE Edition from the official site"
URL="https://www.commfort.com/ru/article-commfort-linux.shtml"

. $(dirname $0)/common.sh

11
warn_version_is_not_supported
12 13

VERSION="$(eget -O- https://www.commfort.com/ru/download.shtml  | grep "Версия .* от .* г." | head -n2 | tail -n1 | sed -e 's|.*Версия ||' -e 's| от .*||')"
14 15
[ -n "$VERSION" ] || fatal "Can't get version."

16
# TODO: check: https://www.commfort.com/download/commfort_client.msi
17
PKGURL="https://www.commfort.com/download/commfort_client_wine.exe"
18

19
install_pack_pkgurl $VERSION