mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 18:37:45 +08:00
install.sh: Fix wrong destination path for ipfs binary
License: MIT Signed-off-by: Kirill Goncharov <kdgoncharov@gmail.com>
This commit is contained in:
parent
c7dc3c33ea
commit
2865ae79a1
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