2 Commits

Author SHA1 Message Date
584bcc6033 Fix typo
not important but...
2025-09-14 14:18:53 +02:00
aeff9215aa Fixup comments remove hard coded tagname 2025-09-14 14:16:19 +02:00

View File

@@ -4,8 +4,6 @@
# Can be launched with the following command:
# sh <(curl -sSL https://raw.githubusercontent.com/Katenary/katenary/master/install.sh)
set -e
# Detect the OS and architecture
OS=$(uname)
ARCH=$(uname -m)
@@ -21,10 +19,10 @@ done
# - $HOME/.local/bin
# - $HOME/.bin
# - $HOME/bin
COMON_INSTALL_PATHS="$HOME/.local/bin $HOME/.bin $HOME/bin"
COMMON_INSTALL_PATHS="$HOME/.local/bin $HOME/.bin $HOME/bin"
INSTALL_PATH=""
for p in $COMON_INSTALL_PATHS; do
for p in $COMMON_INSTALL_PATHS; do
if [ -d $p ]; then
INSTALL_PATH=$p
break
@@ -51,8 +49,8 @@ fi
# Where to download the binary
TAG=$(curl -sLf https://repo.katenary.io/api/v1/repos/katenary/katenary/releases/latest 2>/dev/null | grep -Po '"tag_name":\s*"[^"]*"' | cut -d ":" -f2 | tr -d '"')
TAG=3.0.0-rc7
# for compatibility with older ARM versions
# use the right names for the OS and architecture
if [ $ARCH = "x86_64" ]; then
ARCH="amd64"
fi