weasis.sh 369 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=weasis
SUPPORTEDARCHES="x86_64 aarch64 armhf"
DESCRIPTION="Weasis DICOM medical viewer"
VERSION="$2"

. $(dirname $0)/common.sh

arch="$(epm print info --debian-arch)"
file="weasis_$VERSION-1_$arch.deb"

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

epm install "$PKGURL"