xbian IPNS key creation

This commit is contained in:
qo-op 2021-03-15 18:52:24 +01:00
parent 02861744f5
commit 552e4b711d
1 changed files with 2 additions and 2 deletions

View File

@ -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