forked from axiom-team/astrXbian
Customisation TiddlyWiki
This commit is contained in:
parent
699c9906d2
commit
91e38627f2
@ -186,22 +186,18 @@ done
|
|||||||
## TODO compare with /tmp/friend_of_mine
|
## TODO compare with /tmp/friend_of_mine
|
||||||
|
|
||||||
|
|
||||||
## ADD tiddlywiki #TODO REMOVE #PUT in ISOConfig for next install
|
|
||||||
[[ ! -f ~/.zen/ipfs/.${IPFSNODEID}/index.html ]] && mkdir -p ~/.zen/ipfs/.${IPFSNODEID} && cp ~/.zen/astrXbian/.install/templates/tiddlywiki/index.html ~/.zen/ipfs/.${IPFSNODEID}/index.html
|
|
||||||
|
|
||||||
##
|
##
|
||||||
echo "####################################################
|
echo "####################################################
|
||||||
Customisation TiddlyWiki"
|
Customisation TiddlyWiki"
|
||||||
|
[[ ! -f ~/.zen/ipfs/.${IPFSNODEID}/index.html ]] && mkdir -p ~/.zen/ipfs/.${IPFSNODEID} && cp ~/.zen/astrXbian/.install/templates/tiddlywiki/index.html ~/.zen/ipfs/.${IPFSNODEID}/index.html
|
||||||
|
|
||||||
zuid="$(cat ~/.zen/ipfs/.$IPFSNODEID/_xbian.zuid )"
|
zuid="$(cat ~/.zen/ipfs/.$IPFSNODEID/_xbian.zuid )"
|
||||||
wiki="/home/$USER/.zen/ipfs/.$IPFSNODEID/index.html"
|
wiki="/home/$USER/.zen/ipfs/.$IPFSNODEID/index.html"
|
||||||
|
|
||||||
# sed -i "s/Moa/<a href=\"https:\/\/www.gchange.fr\/#\/app\/user\/$G1PUB\">(____) $zuid (_____)<\/a>/g" $wiki ## (star) pseudo (score)
|
|
||||||
sed -i "s/Moa/$zuid/g" $wiki ## (star) pseudo (score)
|
sed -i "s/Moa/$zuid/g" $wiki ## (star) pseudo (score)
|
||||||
GTITLE="$(cat ~/.zen/ipfs/.$IPFSNODEID/G1SSB/_g1.gchange_title)"
|
GTITLE="$(cat ~/.zen/ipfs/.$IPFSNODEID/G1SSB/_g1.gchange_title)"
|
||||||
sed -i "s/$zuid/$GTITLE/g" $wiki ## (star) pseudo (score)
|
sed -i "s/$zuid/$GTITLE/g" $wiki ## (star) pseudo (score)
|
||||||
# sed -i "s/GettingStarted/<a href=\"https:\/\/tube.copylaradio.com\/ipns\/$IPFSNODEID\/.$IPFSNODEID\">$IPFSNODEID<\/a>/g" $wiki
|
|
||||||
sed -i "s/GettingStarted/$IPFSNODEID/g" $wiki
|
sed -i "s/GettingStarted/$IPFSNODEID/g" $wiki
|
||||||
# sed -i "s/Bienvenue/<a href=\"https:\/\/demo.cesium.app\/#\/app\/wot\/$G1PUB\">$G1PUB<\/a>/g" $wiki
|
|
||||||
sed -i "s/Bienvenue/$G1PUB/g" $wiki
|
sed -i "s/Bienvenue/$G1PUB/g" $wiki
|
||||||
## sed -i "s/Personnalisez/$G1PUB/g" $wiki ##
|
## sed -i "s/Personnalisez/$G1PUB/g" $wiki ##
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user