From 4433049e1c444db9536be2141431d98b0ea438e4 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 6 Aug 2009 11:08:45 -0400 Subject: dh: Allow creation of new sequences (such as to handle a patch target for quilt), by adding an add_command function to the sequence addon interface. See #540124. --- dh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dh') diff --git a/dh b/dh index c34a5a02..2a6c0a31 100755 --- a/dh +++ b/dh @@ -322,6 +322,11 @@ sub remove_command { } } +sub add_command { + my $command=shift; + my $sequence=shift; + unshift @{$sequences{$sequence}}, $command; +} foreach my $addon (@{$dh{WITH}}) { my $mod="Debian::Debhelper::Sequence::$addon"; $mod=~s/-/_/g; -- cgit v1.2.3