better finishing delayed batch scripts
This commit is contained in:
parent
f49fbb1835
commit
fee7958523
|
@ -559,9 +559,7 @@ echo "~/.zen/astrXbian/zen/new_file_in_astroport.sh \"$HOME/astroport/${CAT}/${M
|
|||
|
||||
echo "rm -f /tmp/\${MEDIAKEY}.pass
|
||||
rm -f /tmp/\${MEDIAKEY}.dunikey ## REMOVE KEYS
|
||||
echo 'Si tout est OK, appuyez dur ENTER, sinon ESC'
|
||||
[[ ! \$1 ]] && read finish
|
||||
rm ~/astroport/Add_${MEDIAKEY}_script.sh
|
||||
mv ~/astroport/Add_${MEDIAKEY}_script.sh ~/astroport/Done_${FILE_NAME}.sh
|
||||
" >> ~/astroport/Add_${MEDIAKEY}_script.sh
|
||||
|
||||
|
||||
|
@ -607,7 +605,7 @@ zenity --question --width 300 --text "OK! ~/astroport/Add_${MEDIAKEY}_script.sh
|
|||
[ $? == 0 ] && bash ~/astroport/Add_${MEDIAKEY}_script.sh "noh265" \
|
||||
&& zenity --warning --width 300 --text "Ajoutez ce media dans vos journaux public 'qo-op' ou administratif 'moa'" \
|
||||
&& [[ $(cat ~/.zen/game/players/.current/.playerns 2>/dev/null) ]] \
|
||||
&& xdg-open "http://127.0.0.1:8080/ipns/$(cat ~/.zen/game/players/.current/.playerns)" \
|
||||
&& xdg-open "http://127.0.0.1:8080/ipns/$(cat ~/.zen/game/players/.current/.playerns)" \
|
||||
|| ( zenity --warning --width 300 --text "Désolé une erreur est survenue... /tmp/${MEDIAKEY}.log" && exit 1 )\
|
||||
exit 0
|
||||
|
||||
|
|
Loading…
Reference in New Issue