aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2013-02-01 07:33:05 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2013-02-01 07:33:05 +0400
commit43a93f79fd4900767c5d499742937fadffe880c9 (patch)
treeef618871a726f8ddee4df11f7b06cf21a9b3cf89
parent03f4febe81472ba2829443e9cb8ef418d9e6cc49 (diff)
downloadcibs-43a93f79fd4900767c5d499742937fadffe880c9.tar.gz
Allow empty sections in debmakerv0.3.0
-rwxr-xr-xscripts/debmaker.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/debmaker.pl b/scripts/debmaker.pl
index 9902ae8..44c57b4 100755
--- a/scripts/debmaker.pl
+++ b/scripts/debmaker.pl
@@ -405,7 +405,8 @@ sub get_pkg_section {
} elsif ($pkgname =~ m,^pkg:/([^/]+)/.*,) {
return $1;
} else {
- fatal "Can't get section for package `$pkgname'"
+ warning "Can't get section for package `$pkgname'";
+ return 0;
}
}