mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-25 12:27:43 +08:00
Merge pull request #6424 from xuhcc/install-bin-path
install.sh: Fix wrong destination path for ipfs binary
This commit is contained in:
commit
448b801ebb
2
cmd/ipfs/dist/install.sh
vendored
2
cmd/ipfs/dist/install.sh
vendored
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user