aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-06-07 00:00:53 +0200
committerGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-06-07 00:00:53 +0200
commit8e15fc2828d49b3028eb0ca47f79a18479d1683a (patch)
treea48e5a4740a6841b68dd05ff8d2d670fbf797683
parent923fcf53130baa53e04c949afa7a4ce18e12ef8a (diff)
do not do cookie debugging (with notifier) by default
-rwxr-xr-xexamples/scripts/cookies.sh12
1 files changed, 7 insertions, 5 deletions
diff --git a/examples/scripts/cookies.sh b/examples/scripts/cookies.sh
index c0c37db..bbb0e88 100755
--- a/examples/scripts/cookies.sh
+++ b/examples/scripts/cookies.sh
@@ -35,14 +35,16 @@
[ -z "$cookie_data" ] && exit 1
-#notifier=
+notifier=
#notifier=notify-send
-notify_wrapper () {
- echo "$@" >> $HOME/cookielog
-}
+#notify_wrapper () {
+# echo "$@" >> $HOME/cookielog
+#}
+#notifier=notifier_wrapper
# if this variable is set, we will use it to inform you when and which cookies we store, and when/which we send.
-notifier=notify_wrapper
+# it's primarily used for debugging
+notifier=
which zenity &>/dev/null || exit 2
# Example cookie: