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

PKGNAME=portmaster
SUPPORTEDARCHES="x86_64"
VERSION="$2"
DESCRIPTION="Portmaster from the official site"
URL="https://safing.io/"

. $(dirname $0)/common.sh

11 12
warn_version_is_not_supported

13 14 15 16 17 18 19 20 21 22 23 24
pkgtype="$(epm print info -p)"

case "$pkgtype" in
    rpm|deb)
        ;;
    *)
        pkgtype="deb"
        ;;
esac

PKGURL="https://updates.safing.io/latest/linux_amd64/packages/portmaster-installer.$pkgtype"

25
install_pkgurl