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"
|
||||
|
||||
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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue