update install script
This commit is contained in:
parent
86ac6b33a4
commit
a21ff37225
1 changed files with 4 additions and 2 deletions
|
|
@ -49,8 +49,10 @@ ASSET="${BINARY}-${GOOS}-${GOARCH}"
|
||||||
URL="https://github.com/$REPO/releases/download/$TAG/$ASSET"
|
URL="https://github.com/$REPO/releases/download/$TAG/$ASSET"
|
||||||
|
|
||||||
echo "Downloading $ASSET ($TAG)..."
|
echo "Downloading $ASSET ($TAG)..."
|
||||||
curl -fsSL "$URL" -o "$INSTALL_DIR/$BINARY"
|
TMP="$(mktemp)"
|
||||||
chmod +x "$INSTALL_DIR/$BINARY"
|
curl -fsSL "$URL" -o "$TMP"
|
||||||
|
chmod +x "$TMP"
|
||||||
|
mv "$TMP" "$INSTALL_DIR/$BINARY"
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "dendrite $TAG installed to $INSTALL_DIR/$BINARY"
|
echo "dendrite $TAG installed to $INSTALL_DIR/$BINARY"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue