xbian IPNS key creation
This commit is contained in:
parent
02861744f5
commit
552e4b711d
|
@ -165,8 +165,8 @@ cp -Rf ~/.zen/astrXbian/.install/.kodi ~/
|
|||
|
||||
echo "Configure .kodi/addons/plugin.video.vstream/resources/sites/astroport.py"
|
||||
# CREATE xbian IPNSKEY used to publish ~/.zen/ipfs_swarm/xbian (contains all XZUID pastebin files)
|
||||
ipfs key rm xbian
|
||||
IPNSKEY=$(ipfs key gen xbian)
|
||||
IPNSKEY=$(ipfs key list -l | grep xbian | cut -d ' ' -f 1)
|
||||
[[ ! $IPNSKEY ]] && IPNSKEY=$(ipfs key gen xbian)
|
||||
sed -i "s/_IPNSKEY_/$IPNSKEY/g" ~/.bashrc
|
||||
sed -i "s/_PROFIL_/$XZUID/g" ~/.kodi/addons/plugin.video.vstream/resources/sites/astroport.py
|
||||
sed -i "s/_LOGIN_/$salt/g" ~/.kodi/addons/plugin.video.vstream/resources/sites/astroport.py
|
||||
|
|
Loading…
Reference in New Issue