Merge pull request #6424 from xuhcc/install-bin-path

install.sh: Fix wrong destination path for ipfs binary
This commit is contained in:
Steven Allen 2019-06-11 15:33:31 -07:00 committed by GitHub
commit 448b801ebb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ binpaths="/usr/local/bin /usr/bin"
is_write_perm_missing=""
for binpath in $binpaths; do
if mv "$bin" "$binpath/$bin" ; then
if mv "$bin" "$binpath/ipfs" ; then
echo "Moved $bin to $binpath"
exit 0
else