]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh
dh: Allow creation of new sequences (such as to handle a patch target for quilt)...
[debhelper.git] / dh
diff --git a/dh b/dh
index c34a5a0273e952f359e8b92cf14c19ab7f73c24b..2a6c0a31cf1fa6f87969dbc8e2a35900b7428356 100755 (executable)
--- 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;