diff options
author | Mirco Bauer <meebey@debian.org> | 2008-01-01 19:55:33 +0000 |
---|---|---|
committer | Mirco Bauer <meebey@debian.org> | 2008-01-01 19:55:33 +0000 |
commit | 676bfef81d08ec2afd4570d8b498d05d9fe9e67d (patch) | |
tree | fe0d3ad85955ef0bc0bfb960a9311ade44c36010 /dh_cligacpolicy | |
parent | 0a4e1818f1120a1b9efdf3bd01ca2e59b7ac6d97 (diff) |
- fixed policy remove handling
Diffstat (limited to 'dh_cligacpolicy')
-rwxr-xr-x | dh_cligacpolicy | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/dh_cligacpolicy b/dh_cligacpolicy index 372971a..956be8b 100755 --- a/dh_cligacpolicy +++ b/dh_cligacpolicy @@ -81,6 +81,16 @@ debian/log4net.snk log4net 1.2.8.0-1.2.9.99 1.2.10.0 10 # Set up debhelper init(); +{ + local $/=""; + open(FILE, 'debian/control'); + my @filedata = <FILE>; + close(FILE); + if (!($filedata[0] =~ /Build-Depends(-Indep)?: .*cli-common-dev \(>= 0\.5\.4\)/)) { + warning("Warning! No Build-Depends(-Indep) on cli-common-dev (>= 0.5.4)!"); + } +} + # Go through each of the packages being built my $errors = 0; |