Commit 9934126e authored by Vitaly Lipatov's avatar Vitaly Lipatov

eget: don't save CID for file://

parent 0280667d
......@@ -499,6 +499,10 @@ put_cid_and_url()
local CID="$2"
local FN="$3"
[ -w "$EGET_IPFS_DB" ] || return
is_fileurl "$URL" && return
echo "Put in $EGET_IPFS_DB: $URL $CID $FN"
echo "$URL $CID $FN" >> "$EGET_IPFS_DB"
}
......
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