gitkraken.sh 506 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#!/bin/sh

PKGNAME=gitkraken
SUPPORTEDARCHES="x86_64"
DESCRIPTION="GitKraken Client from the official site"
URL="https://www.gitkraken.com/"

. $(dirname $0)/common.sh

pkgtype=$(epm print info -p)
case $pkgtype in
    rpm)
        PKGURL="https://release.gitkraken.com/linux/gitkraken-amd64.rpm"
        ;;
    *)
        PKGURL="https://release.gitkraken.com/linux/gitkraken-amd64.deb"
        ;;
esac

20 21 22 23 24
if [ "$(epm print info -s)" = "alt" ] ; then
    repack="--repack"
fi

epm install $repack "$PKGURL"