mirror of
https://github.com/dolthub/dolt.git
synced 2026-01-05 16:15:41 -06:00
publishrelease/install.sh: install -d /usr/local/bin if it does not exist.
This commit is contained in:
@@ -98,6 +98,7 @@ install_binary_release() {
|
||||
curl -A "$CURL_USER_AGENT" -fsL "$URL" > "$FILE"
|
||||
tar zxf "$FILE"
|
||||
echo "Installing dolt, git-dolt and git-dolt-smudge to /usr/local/bin."
|
||||
[ -d /usr/local/bin ] || install -o 0 -g 0 -d /usr/local/bin
|
||||
install -o 0 -g 0 dolt-$PLATFORM_TUPLE/bin/dolt /usr/local/bin
|
||||
install -o 0 -g 0 dolt-$PLATFORM_TUPLE/bin/git-dolt /usr/local/bin
|
||||
install -o 0 -g 0 dolt-$PLATFORM_TUPLE/bin/git-dolt-smudge /usr/local/bin
|
||||
|
||||
Reference in New Issue
Block a user