diff options
author | Niels Thykier <niels@thykier.net> | 2018-10-14 08:21:09 +0000 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2018-10-14 08:21:12 +0000 |
commit | 90091959174d08b6613fe24d94ebde14794bcf6b (patch) | |
tree | c229993d473d19803cdc3d03a1d383ceacfb47f7 /dh_cligacpolicy | |
parent | d82270be6957473d8c23ac8a36e857d9fcf58701 (diff) |
Add NOOP promises so dh can optimize them out
These helpers only do something if the package has a config file. We
can inform dh about this so it knows when it can skip these helpers.
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh_cligacpolicy')
-rwxr-xr-x | dh_cligacpolicy | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dh_cligacpolicy b/dh_cligacpolicy index 5d264dd..47fdda9 100755 --- a/dh_cligacpolicy +++ b/dh_cligacpolicy @@ -97,6 +97,8 @@ init(); # Go through each of the packages being built my $errors = 0; +# PROMISE: DH NOOP WITHOUT cligacpolicy + foreach my $package (@{$dh{DOPACKAGES}}) { # Set up our internal variables |