From 3390e19f8a2947295551371c8ab2839573a1dca1 Mon Sep 17 00:00:00 2001 From: Jeroen Schot Date: Fri, 22 Apr 2011 12:15:10 +0200 Subject: 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. --- autoscripts/postinst-ucf | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 autoscripts/postinst-ucf (limited to 'autoscripts/postinst-ucf') diff --git a/autoscripts/postinst-ucf b/autoscripts/postinst-ucf new file mode 100644 index 00000000..633d3ff3 --- /dev/null +++ b/autoscripts/postinst-ucf @@ -0,0 +1,4 @@ +if [ "$1" = "configure" ]; then + ucf #UCFSRC# #UCFDEST# + ucfr #PACKAGE# #UCFDEST# +fi -- cgit v1.2.3