HCoop
/
hcoop
/
zz_old
/
debian
/
djbdns.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Debian patch 1:1.05-8
[hcoop/zz_old/debian/djbdns.git]
/
debian
/
dnscache-run.prerm
diff --git a/debian/dnscache-run.prerm
b/debian/dnscache-run.prerm
new file mode 100644
(file)
index 0000000..
43baa98
--- /dev/null
+++ b/
debian/dnscache-run.prerm
@@ -0,0
+1,7
@@
+#!/bin/sh
+set -e
+
+test "$1" = 'remove' || test "$1" = 'deconfigure' ||
+ test "$1" = 'failed-upgrade' || exit 0
+
+update-service --remove /etc/sv/dnscache || :