postman.sh 416 Bytes
Newer Older
1 2 3 4
#!/bin/sh

PKGNAME=postman
SUPPORTEDARCHES="x86_64 aarch64"
5
VERSION="$2"
6 7 8 9 10
DESCRIPTION='Postman is an API platform for building and using APIs'
URL="https://www.postman.com"

. $(dirname $0)/common.sh

11 12
warn_version_is_not_supported

13 14 15 16 17 18 19 20 21
case "$(epm print info -a)" in
    x86_64)
        arch="64" ;;
    aarch64)
        arch="arm64" ;;
esac

PKGURL="https://dl.pstmn.io/download/latest/linux_$arch"

22
install_pack_pkgurl