mediaid could have _
This commit is contained in:
parent
91bc17d3cb
commit
491ba1c0b3
|
@ -27,7 +27,7 @@ do
|
||||||
# decrypt $astrofile
|
# decrypt $astrofile
|
||||||
mediakey=$(echo "$astrofile" | cut -d '/' -f 8 )
|
mediakey=$(echo "$astrofile" | cut -d '/' -f 8 )
|
||||||
keytype=$(echo "$mediakey" | cut -d '_' -f 1 )
|
keytype=$(echo "$mediakey" | cut -d '_' -f 1 )
|
||||||
mediaid=$(echo "$mediakey" | cut -d '_' -f 2 )
|
mediaid=$(echo "$mediakey" | cut -d '_' -f 2- )
|
||||||
|
|
||||||
g1source=$(echo "$astrofile" | cut -d '/' -f 9 )
|
g1source=$(echo "$astrofile" | cut -d '/' -f 9 )
|
||||||
ipfsnodesource=$(~/.zen/astrXbian/zen/tools/g1_to_ipfs.py $g1source)
|
ipfsnodesource=$(~/.zen/astrXbian/zen/tools/g1_to_ipfs.py $g1source)
|
||||||
|
|
Loading…
Reference in New Issue