From 4c8f8cd25e912508731e3494d3ee303bccf0001e Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 2 Nov 2010 16:24:04 -0400 Subject: maintscript files dh_installdeb: Support debian/package.maintscript files, which can contain dpkg-maintscript-helper commands. This can be used to automate moving or removing conffiles, or anything added to dpkg-maintscript-helper later on. Closes: #574443 (Thanks, Colin Watson) --- t/maintscript | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 t/maintscript (limited to 't') diff --git a/t/maintscript b/t/maintscript new file mode 100644 index 00000000..bf15d445 --- /dev/null +++ b/t/maintscript @@ -0,0 +1,19 @@ +#!/usr/bin/perl +use Test; +plan(tests => 8); + +system("mkdir -p t/tmp/debian"); +system("cp debian/control t/tmp/debian"); +open(OUT, ">", "t/tmp/debian/maintscript") || die "$!"; +print OUT <