_canonical_uri
This commit is contained in:
parent
0c979db133
commit
1979388f5c
|
@ -21,7 +21,7 @@
|
||||||
MY_PATH="`dirname \"$0\"`" # relative
|
MY_PATH="`dirname \"$0\"`" # relative
|
||||||
MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
|
MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
|
||||||
ME="${0##*/}"
|
ME="${0##*/}"
|
||||||
|
start=`date +%s`
|
||||||
########################################################################
|
########################################################################
|
||||||
[[ $(which ipfs) == "" ]] && echo "ERREUR! Installez ipfs" && echo "wget https://git.p2p.legal/axiom-team/astrXbian/raw/master/.install/ipfs_alone.sh -O /tmp/ipfs_install.sh && chmod +x /tmp/ipfs_install.sh && /tmp/ipfs_install.sh" && exit 1
|
[[ $(which ipfs) == "" ]] && echo "ERREUR! Installez ipfs" && echo "wget https://git.p2p.legal/axiom-team/astrXbian/raw/master/.install/ipfs_alone.sh -O /tmp/ipfs_install.sh && chmod +x /tmp/ipfs_install.sh && /tmp/ipfs_install.sh" && exit 1
|
||||||
[[ $(which zenity) == "" ]] && echo "ERREUR! Installez zenity" && echo "sudo apt install zenity" && exit 1
|
[[ $(which zenity) == "" ]] && echo "ERREUR! Installez zenity" && echo "sudo apt install zenity" && exit 1
|
||||||
|
@ -539,7 +539,7 @@ echo '[
|
||||||
{
|
{
|
||||||
"created": "'${MOATS}'",
|
"created": "'${MOATS}'",
|
||||||
"modified": "'${MOATS}'",
|
"modified": "'${MOATS}'",
|
||||||
"_canonical_uri": "'${MOATS}'",
|
"_canonical_uri": "'/ipfs/${IPFSREPFILEID}'",
|
||||||
"title": "'$TITLE'",
|
"title": "'$TITLE'",
|
||||||
"artist": "'$artist'",
|
"artist": "'$artist'",
|
||||||
"song": "'$song'",
|
"song": "'$song'",
|
||||||
|
@ -869,12 +869,16 @@ echo "%%%%%%%%%%%%%% I GOT YOUR TW %%%%%%%%%%%%%%%%%%%%%%%%%%"
|
||||||
echo "================================================"
|
echo "================================================"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
[[ $XDG_SESSION_TYPE == 'x11' ]] && xdg-open "http://$myIP:8080/ipns/$ASTRONAUTENS"
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
espeak "Warning. Could not import Tiddler. You must add it by hand."
|
espeak "Warning. Could not import Tiddler. You must add it by hand."
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
espeak "OK We did it."
|
end=`date +%s`
|
||||||
|
dur=`expr $end - $start`
|
||||||
|
espeak "OK We did it and It tooks $dur seconds to acomplish"
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue