debian/changelog: fix misspelling in comment crediting lolando
[git/debian.git] / debian / git-daemon-sysvinit.prerm
blobc9a6a6a8b79b7ba478942e9bc97a0e287afbec34
1 #!/bin/sh
2 set -e
4 test "$1" = 'remove' || test "$1" = 'deconfigure' || \
5 test "$1" = 'failed-upgrade' || exit 0
7 if [ -x "/etc/init.d/git-daemon" ]; then
8 if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
9 invoke-rc.d git-daemon stop || exit $?
10 else
11 /etc/init.d/git-daemon stop || exit $?