summaryrefslogtreecommitdiffstats
path: root/debian/local
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 00:51:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 00:52:11 +0000
commitcc54fc0b9a629744ab47357dcc4cb0328fe71a1b (patch)
tree298afc2b357f8b9df5b9acd301be09a959a04708 /debian/local
parentAdding patch from upstream to automatically split long lines. (diff)
downloadirker-cc54fc0b9a629744ab47357dcc4cb0328fe71a1b.tar.xz
irker-cc54fc0b9a629744ab47357dcc4cb0328fe71a1b.zip
Removing local debian additions (Closes: #843679).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/local')
-rwxr-xr-xdebian/local/irkerhook-debian27
-rwxr-xr-xdebian/local/irkerhook-git17
2 files changed, 0 insertions, 44 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
diff --git a/debian/local/irkerhook-git b/debian/local/irkerhook-git
deleted file mode 100755
index 1f746e8..0000000
--- a/debian/local/irkerhook-git
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ -z "$(git config --get irker.project)" -a -z "$(git config --get irker.template)" ]
-then
- echo "CONFIGURATION ERROR: Neither irker.project nor irker.template defined"
- echo "NOT sending IRC notification"
- exit 0
-fi
-
-echo "sending IRC notification"
-
-while read old new refname
-do
- irkerhook --refname=${refname} $(git rev-list --reverse ${old}..${new})
-done