From: Harvie Date: Sun, 3 Oct 2010 09:47:13 +0000 (+0200) Subject: Added debug answerscript that does not need user to see console output (using notify... X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=bc647306b3aa38c77a4eacb36bc479efc18d54ba;p=mirrors%2Flibpurple-core-answerscripts.git Added debug answerscript that does not need user to see console output (using notify API - i guess it's Linux-only) --- diff --git a/purple/answerscripts.d/00-debug-notify.sh b/purple/answerscripts.d/00-debug-notify.sh new file mode 100755 index 0000000..18bc0c4 --- /dev/null +++ b/purple/answerscripts.d/00-debug-notify.sh @@ -0,0 +1,3 @@ +#!/bin/sh +#Debug for systems with notify +notify-send AnswerScripts "$(env | grep '^ANSW_')" &>/dev/null