From c53174727933facc612c4adeb607d34588229ddc Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 27 Apr 2015 20:16:55 -0400 Subject: [PATCH] added a link to the games. --- bashit/bashit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashit/bashit b/bashit/bashit index b591c15..aacfb0b 100755 --- a/bashit/bashit +++ b/bashit/bashit @@ -48,7 +48,7 @@ if [ $newHighScore -le 5 ] ; then read -n 1 -p "Post this score to GNU Social? " answer if [ "${answer^}" = "Y" ] ; then read -p "Enter your webfinger, e.g. storm@social.stormdragon.tk: " answer -result="$(curl --connect-timeout 60 -s -u "${answer%@*}" -d status="I just got the number $newHighScore position in #${0##*/} on my local scoreboard with $1 points using the ${sound##*/} soundpack! #storm-games" -d source="${0##/*}" https://${answer#*@}/api/statuses/update.xml | grep '^ ' | sed -e 's/^ //' -e 's/<\/text>$//')" +result="$(curl --connect-timeout 60 -s -u "${answer%@*}" -d status="I just got the number $newHighScore position in #${0##*/} on my local scoreboard with $1 points using the ${sound##*/} soundpack! Wanna play? http://github.com/stormdragon2976/storm-games #storm-games" -d source="${0##/*}" https://${answer#*@}/api/statuses/update.xml | grep '^ ' | sed -e 's/^ //' -e 's/<\/text>$//')" echo "$result" fi fi