You need to sign in or sign up before continuing.
pachca.sh 436 Bytes
Newer Older
Vitaly Lipatov's avatar
Vitaly Lipatov committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#!/bin/sh

PKGNAME=pachca
SUPPORTEDARCHES="x86_64"
DESCRIPTION="Корпоративный мессенджер Пачка с официального сайта"
VERSION="$2"

. $(dirname $0)/common.sh

arch="$(epm print info --debian-arch)"
file="${PKGNAME}_${VERSION}_$arch.deb"

PKGURL=$(epm tool eget --list --latest https://github.com/pachca/pachca-desktop/releases $file) || fatal "Can't get package URL"

epm install "$PKGURL"