bitrix24.sh 474 Bytes
Newer Older
1 2 3 4
#!/bin/sh

PKGNAME=bitrix24
SUPPORTEDARCHES="x86_64"
5
VERSION="$2"
6 7 8 9 10
DESCRIPTION="Bitrix24 desktop client from the official site"
URL="https://www.bitrix24.ru/features/desktop.php"

. $(dirname $0)/common.sh

11 12
warn_version_is_not_supported

13 14 15 16 17
pkgtype=$(epm print info -p)
case $pkgtype in
    rpm)
        PKGURL="https://dl.bitrix24.com/b24/bitrix24_desktop.rpm"
        ;;
18
    *)
19 20 21 22
        PKGURL="https://dl.bitrix24.com/b24/bitrix24_desktop.deb"
        ;;
esac

23
install_pkgurl