install.sh: Fix wrong destination path for ipfs binary

License: MIT
Signed-off-by: Kirill Goncharov <kdgoncharov@gmail.com>
This commit is contained in:
Kirill Goncharov 2019-06-08 19:13:19 +03:00
parent c7dc3c33ea
commit 2865ae79a1

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