ridoclnx.sh 435 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
#!/bin/sh

PKGNAME=ridoclnx
SUPPORTEDARCHES="x86_64"
VERSION="$2"
DESCRIPTION="RiDocLNX - scanner software for Linux"
URL="https://ridoclnx.com/"

. $(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)
        mask="ridoclnx-1.0-4.4.x86_64.rpm"
        ;;
18
    *)
19 20 21 22 23 24
        mask="ridoclnx_1.0.4.4.deb"
        ;;
esac

PKGURL="https://ridoclnx.com/download/$mask"

25
install_pkgurl