Skip to content

Commit

Permalink
chore: use /usr/local/bin instead of $HOME/neucn/bin
Browse files Browse the repository at this point in the history
  • Loading branch information
unbyte committed Mar 11, 2021
1 parent 28c03c4 commit c157ec3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fi

download_url="https://github.com/neucn/ipgw/releases/latest/download/ipgw-${target}.zip"

bin_dir="$HOME/neucn/bin"
bin_dir="/usr/local/bin"
target_path="$bin_dir/ipgw"

if [ ! -d "$bin_dir" ]; then
Expand All @@ -46,6 +46,6 @@ else
*) shell_profile=".bash_profile" ;;
esac
echo "Manually add the directory to your \$HOME/$shell_profile (or similar)"
echo " export PATH=\"\$HOME/neucn/bin:\$PATH\""
echo " export PATH=\"$bin_dir:\$PATH\""
echo "Run '$target_path --help' to get started"
fi

0 comments on commit c157ec3

Please sign in to comment.