diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 10:34:46 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 10:34:46 +0000 |
commit | 7fe388b514c8f118fe4efc8ef24352eec0980118 (patch) | |
tree | f1e536911f5dec9fed60266728f65d4fe075c006 | |
parent | Adding patch to fix pretty formatting in irk. (diff) | |
download | irker-7fe388b514c8f118fe4efc8ef24352eec0980118.tar.xz irker-7fe388b514c8f118fe4efc8ef24352eec0980118.zip |
Removing local debian additions (Closes: #843679).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r-- | debian/irker.install | 2 | ||||
-rwxr-xr-x | debian/local/irkerhook-debian | 27 | ||||
-rwxr-xr-x | debian/local/irkerhook-git | 17 |
3 files changed, 0 insertions, 46 deletions
diff --git a/debian/irker.install b/debian/irker.install index d3649a4..feb7d75 100644 --- a/debian/irker.install +++ b/debian/irker.install @@ -1,3 +1 @@ irk /usr/bin - -debian/local/* /usr/bin 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 |