From: Bart Martens Date: Tue, 1 Nov 2011 19:29:44 +0000 (+0100) Subject: Added error checking, from 2011-04-18. X-Git-Url: https://git.deb.at/?p=deb%2Fpackages.git;a=commitdiff_plain;h=ea007e4c515897be567d2b7fae21c7e3b2f7e9c9 Added error checking, from 2011-04-18. --- diff --git a/bin/extract_files b/bin/extract_files index 5c57bab..a94fba0 100755 --- a/bin/extract_files +++ b/bin/extract_files @@ -564,6 +564,10 @@ sub read_deb { } } $cache{$debname} ||= qx/dpkg-deb --info "$debname" control/; + unless ( $cache{$debname} ) { + do_warning( "extracting control information of file $debname failed" ); + return; + } my $control = $cache{$debname}; unless ( $raw_data = $parser->parse_mem( $control,