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 $?
11 /etc
/init.d
/git-daemon stop ||
exit $?