update install script

This commit is contained in:
Kristian Borgwarth 2026-06-09 23:13:05 +02:00
parent 86ac6b33a4
commit a21ff37225

View file

@ -49,8 +49,10 @@ ASSET="${BINARY}-${GOOS}-${GOARCH}"
URL="https://github.com/$REPO/releases/download/$TAG/$ASSET"
echo "Downloading $ASSET ($TAG)..."
curl -fsSL "$URL" -o "$INSTALL_DIR/$BINARY"
chmod +x "$INSTALL_DIR/$BINARY"
TMP="$(mktemp)"
curl -fsSL "$URL" -o "$TMP"
chmod +x "$TMP"
mv "$TMP" "$INSTALL_DIR/$BINARY"
echo ""
echo "dendrite $TAG installed to $INSTALL_DIR/$BINARY"