Exclude local debian additions (Closes: #843679).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
This commit is contained in:
parent
0a3b168608
commit
c19af7b9ed
3 changed files with 0 additions and 46 deletions
2
debian/irker.install
vendored
2
debian/irker.install
vendored
|
@ -1,3 +1 @@
|
|||
irk /usr/bin
|
||||
|
||||
debian/local/* /usr/bin
|
||||
|
|
27
debian/local/irkerhook-debian
vendored
27
debian/local/irkerhook-debian
vendored
|
@ -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
|
17
debian/local/irkerhook-git
vendored
17
debian/local/irkerhook-git
vendored
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue