Browse Source

Add guide in `install.sh` to update $PATH

tags/v0.3.6-rc0
haixuanTao 1 year ago
parent
commit
85ab181da7
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      install.sh

+ 4
- 1
install.sh View File

@@ -160,7 +160,7 @@ esac

archive="$releases/download/v$tag/$bin-v$tag-$target.$extension"
say "Repository: $url"
say "bin: $bin"
say "Bin: $bin"
say "Tag: $tag"
say "Target: $target"
say "Destination: $dest"
@@ -181,6 +181,9 @@ else
mkdir -p "$dest"
cp "$td/$bin" "$dest/$bin"
chmod 755 "$dest/$bin"
echo ""
echo " Update PATH:"
echo "export PATH=\$PATH:$dest/$bin"
fi

rm -rf "$td"

Loading…
Cancel
Save