summaryrefslogtreecommitdiffstats
path: root/debian/local/irkerhook-debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian/local/irkerhook-debian')
-rwxr-xr-xdebian/local/irkerhook-debian27
1 files changed, 0 insertions, 27 deletions
diff --git a/debian/local/irkerhook-debian b/debian/local/irkerhook-debian
deleted file mode 100755
index 1f05304..0000000
--- a/debian/local/irkerhook-debian
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-
-set -e
-
-_MESSAGE="${@}"
-
-_PROGRAM="$(basename ${0})"
-
-for _FILE in "/etc/default/${_PROGRAM}" "/etc/default/${_PROGRAM}.d"/*
-do
- if [ -e "${_FILE}" ]
- then
- . "${_FILE}" || true
- fi
-done
-
-if [ "${IRK_ENABLED}" != "true" ]
-then
- exit 0
-fi
-
-echo "sending IRC notification"
-
-for IRC_CHANNEL in ${IRC_CHANNELS}
-do
- irk ${IRC_CHANNEL} "${_MESSAGE}"
-done