summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-ucf
diff options
context:
space:
mode:
authorJeroen Schot <schot@A-Eskwadraat.nl>2011-04-22 12:15:10 +0200
committerJoey Hess <joey@kitenet.net>2011-04-25 19:24:53 -0400
commit3390e19f8a2947295551371c8ab2839573a1dca1 (patch)
treeda41341f01c948a5dd81d51e80f9b6d9387ed465 /autoscripts/postinst-ucf
parente45627bda017b1c83cffc506355d8112f7b2989c (diff)
Bug#213078: debhelper: please consider providing dh_ucf
Here is a patch against the master branch that adds such a command called dh_installucf. It also registers the conffiles with ucfr and removes stray ucf-{new,old,dist} files on purge.
Diffstat (limited to 'autoscripts/postinst-ucf')
-rw-r--r--autoscripts/postinst-ucf4
1 files changed, 4 insertions, 0 deletions
diff --git a/autoscripts/postinst-ucf b/autoscripts/postinst-ucf
new file mode 100644
index 0000000..633d3ff
--- /dev/null
+++ b/autoscripts/postinst-ucf
@@ -0,0 +1,4 @@
+if [ "$1" = "configure" ]; then
+ ucf #UCFSRC# #UCFDEST#
+ ucfr #PACKAGE# #UCFDEST#
+fi