1
0
Fork 0

Exclude local debian additions (Closes: #843679).

Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
This commit is contained in:
Daniel Baumann 2025-06-21 08:04:23 +02:00
parent 0a3b168608
commit c19af7b9ed
Signed by: daniel.baumann
GPG key ID: BCC918A2ABD66424
3 changed files with 0 additions and 46 deletions

View file

@ -1,3 +1 @@
irk /usr/bin
debian/local/* /usr/bin

View file

@ -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

View file

@ -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