diff options
Diffstat (limited to '')
-rw-r--r-- | debian/git-daemon-run.prerm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/git-daemon-run.prerm b/debian/git-daemon-run.prerm new file mode 100644 index 0000000..0685520 --- /dev/null +++ b/debian/git-daemon-run.prerm @@ -0,0 +1,9 @@ +#!/bin/sh +set -e + +#DEBHELPER# + +test "$1" = 'remove' || test "$1" = 'deconfigure' || \ + test "$1" = 'failed-upgrade' || exit 0 + +update-service --remove /etc/sv/git-daemon || : |