bug killing
This commit is contained in:
parent
a43055e19b
commit
a3a5c1b5db
|
@ -299,6 +299,5 @@ esac
|
|||
~/.zen/astrXbian/zen/new_file_in_astroport.sh "$HOME/astroport/${CAT}/${TMDB}/" "${FILE_NAME}" > /tmp/${CAT}_${TMDB}.log 2>&1
|
||||
########################################################################
|
||||
########################################################################
|
||||
FILE_NAME=$(echo ${FILE_NAME} | sed -e "s/\'/ /g")
|
||||
[ $? == 0 ] && zenity --warning --width 300 --text "OK! Votre vidéo $CAT ${FILE_NAME} a été transférée dans Astroport" && exit 0 \
|
||||
|| zenity --warning --width ${large} --height=${haut} --text "Désolé une erreur est survenue... LOG: $(cat /tmp/${CAT}_${TMDB}.log)" && exit 1
|
||||
[ $? == 0 ] && zenity --warning --width 300 --text "OK! Votre vidéo a été transférée dans Astroport (/tmp/${CAT}_${TMDB}.log)" && exit 0 \
|
||||
|| zenity --warning --width ${large} --height=${haut} --text "Désolé une erreur est survenue... LOG: cat /tmp/${CAT}_${TMDB}.log" && exit 1
|
||||
|
|
|
@ -109,13 +109,15 @@ done
|
|||
for wiki in $(ls ~/.zen/ipfs_swarm/.12D*/index.html 2>/dev/null); do
|
||||
ipfsnodeid=$(echo $wiki | cut -d '.' -f 3-)
|
||||
whoisg1=$(~/.zen/astrXbian/zen/tools/ipfs_to_g1.py $ipfsnodeid)
|
||||
echo"<html><body>" > ~/.zen/ipfs/.${IPFSNODEID}/FRIENDS/index.html
|
||||
echo "<html><body>" > ~/.zen/ipfs/.${IPFSNODEID}/FRIENDS/index.html
|
||||
echo "<iframe id=\"$ipfsnodeid\"
|
||||
title='tiddlywiki $whoisg1'
|
||||
height='600'
|
||||
src=\"http://127.0.0.1:8181/ipns/$ipfsnodeid/.$ipfsnodeid/index.html\">
|
||||
</iframe>" >> ~/.zen/ipfs/.${IPFSNODEID}/FRIENDS/index.html
|
||||
echo"</body></html>" >> ~/.zen/ipfs/.${IPFSNODEID}/FRIENDS/index.html
|
||||
|
||||
echo "</body></html>" >> ~/.zen/ipfs/.${IPFSNODEID}/FRIENDS/index.html
|
||||
|
||||
done
|
||||
|
||||
########################################################################
|
||||
|
|
Loading…
Reference in New Issue