Commit 8128924b authored by CatSema's avatar CatSema Committed by Vitaly Lipatov

epm play: added netbird

parent 126910b2
#!/bin/sh
PKGNAME=netbird-ui
SUPPORTEDARCHES="x86_64"
VERSION="$2"
DESCRIPTION="GUI for managing NetBird's WireGuard® overlay network."
URL="https://github.com/netbirdio/netbird"
. $(dirname $0)/common.sh
arch="$(epm print info -a)"
if [ "$arch" != "x86_64" ]; then
fatal "NetBird UI is only available for x86_64 architecture"
fi
if [ "$VERSION" = "*" ]; then
VERSION="$(get_github_tag https://github.com/netbirdio/netbird/)"
fi
PKGURL="https://github.com/netbirdio/netbird/releases/download/v${VERSION}/netbird-ui_${VERSION}_linux_amd64.deb"
install_pkgurl
#!/bin/sh
PKGNAME=netbird
SUPPORTEDARCHES="x86_64 aarch64 i386 armv6l"
VERSION="$2"
DESCRIPTION="Secure WireGuard® overlay network with SSO/MFA."
URL="https://github.com/netbirdio/netbird"
. $(dirname $0)/common.sh
arch="$(epm print info -a)"
case "$arch" in
x86_64)
arch="amd64"
;;
aarch64)
arch="arm64"
;;
i386 | i686)
arch="386"
;;
armv6l | armv7l)
arch="armv6"
;;
*)
fatal "Unsupported architecture: $arch"
;;
esac
if [ "$VERSION" = "*" ]; then
VERSION="$(get_github_tag https://github.com/netbirdio/netbird/)"
fi
PKGURL="https://github.com/netbirdio/netbird/releases/download/v${VERSION}/netbird_${VERSION}_linux_${arch}.deb"
install_pkgurl
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment