Commit 9f41864e authored by Vitaly Lipatov's avatar Vitaly Lipatov

eget: fix typos and add comments

parent c4377f3e
...@@ -454,7 +454,7 @@ select_ipfs_mode() ...@@ -454,7 +454,7 @@ select_ipfs_mode()
if ipfs_check "$ipfs_checkQm" ; then if ipfs_check "$ipfs_checkQm" ; then
ipfs_mode="brave" && return ipfs_mode="brave" && return
else else
info "Skipped Brave: it is accesible via $IPFS_CMD --api $IPFS_API, but can't return shared $ipfs_checkQm" info "Skipped Brave: it is accessible via $IPFS_CMD --api $IPFS_API, but can't return shared $ipfs_checkQm"
fi fi
fi fi
fi fi
...@@ -466,7 +466,7 @@ select_ipfs_mode() ...@@ -466,7 +466,7 @@ select_ipfs_mode()
if ipfs_check "$ipfs_checkQm" ; then if ipfs_check "$ipfs_checkQm" ; then
ipfs_mode="local" && return ipfs_mode="local" && return
else else
info "Skipped local: it is accesible via $IPFS_CMD --api $IPFS_API, but can't return shared $ipfs_checkQm" info "Skipped local: it is accessible via $IPFS_CMD --api $IPFS_API, but can't return shared $ipfs_checkQm"
fi fi
fi fi
fi fi
...@@ -480,7 +480,7 @@ select_ipfs_mode() ...@@ -480,7 +480,7 @@ select_ipfs_mode()
if docmd eget --check "$(dirname $ipfs_gateway)" ; then if docmd eget --check "$(dirname $ipfs_gateway)" ; then
info "IPFS gateway $ipfs_gateway is accessible, but can't return shared $ipfs_checkQm" info "IPFS gateway $ipfs_gateway is accessible, but can't return shared $ipfs_checkQm"
else else
info "IPFS gateway $(dirname ipfs_gateway) is not accessible" info "IPFS gateway $(dirname $ipfs_gateway) is not accessible"
fi fi
fi fi
...@@ -551,17 +551,17 @@ if [ "$ipfs_mode" = "disabled" ] ; then ...@@ -551,17 +551,17 @@ if [ "$ipfs_mode" = "disabled" ] ; then
ipfs_get() ipfs_get()
{ {
fatal "disabled" fatal "IPFS is disabled"
} }
ipfs_put() ipfs_put()
{ {
fatal "disabled" fatal "IPFS is disabled"
} }
ipfs_cat() ipfs_cat()
{ {
fatal "disabled" fatal "IPFS is disabled"
} }
...@@ -597,7 +597,7 @@ ipfs_cat() ...@@ -597,7 +597,7 @@ ipfs_cat()
ipfs_put() ipfs_put()
{ {
fatal "disabled" fatal "IPFS add disabled if a gateway is used"
} }
elif [ -z "$ipfs_mode" ] ; then elif [ -z "$ipfs_mode" ] ; then
: :
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment