]> git.donarmstrong.com Git - debhelper.git/blobdiff - Debian/Debhelper/Dh_Lib.pm
remove dead code
[debhelper.git] / Debian / Debhelper / Dh_Lib.pm
index 400549443494275026491a4fe8ccfc5acf07b730..d481128362708228433740ee4c314c2cb5c2c82f 100644 (file)
@@ -74,9 +74,6 @@ sub init {
        # Check if packages to build have been specified, if not, fall back to
        # the default, doing them all.
        if (! defined $dh{DOPACKAGES} || ! @{$dh{DOPACKAGES}}) {
-               if ($dh{DOINDEP} || $dh{DOARCH} || $dh{DOSAME}) {
-                       error("You asked that all arch in(dep) packages be built, but there are none of that type.");
-               }
                push @{$dh{DOPACKAGES}},@allpackages;
        }