From: xf0r3m Date: Tue, 19 Dec 2023 07:47:37 +0000 (+0100) Subject: Test nowej wersji ncspot X-Git-Url: https://gitweb.morketsmerke.org/?a=commitdiff_plain;h=5ac87c89228541fd7a1fe9038c98dd1f622786ea;p=immudex.git Test nowej wersji ncspot --- diff --git a/addons/ncspot b/addons/ncspot index 147f953..afc0a05 100644 --- a/addons/ncspot +++ b/addons/ncspot @@ -7,10 +7,16 @@ if [ "$1" ]; then mkdir /usr/share/immudex-addons; fi cat >> $(basename $0)_installer << EOF -VERSION="0.13.4"; +VERSION="1.0.0"; +BETA=0; +if [ \$BETA -eq 0 ]; then +TARBALL_URL="https://sourceforge.net/projects/immudex/files/immudex/software/ncspot/beta"; +else +TARBALL_URL="https://sourceforge.net/projects/immudex/files/immudex/software/ncspot/"; +fi ARCH="\$(uname -m)"; if [ ! -x /usr/bin/curl ]; then apt install -y curl; fi -curl https://ftp.morketsmerke.org/immudex/testing/addons/ncspot-bin-\${VERSION}-\${ARCH}.tar.gz | tar -xzf - -C /usr/local/bin; +curl \${TARBALL}/ncspot-bin-\${VERSION}-\${ARCH}.tar.gz | tar -xzf - -C /usr/local/bin; chmod +x /usr/local/bin/ncspot; EOF bash $(basename $0)_installer;