* update-maintainer: Default to main if rmadison gives no section output.

This commit is contained in:
Luke Yelavich 2007-12-15 15:49:55 +11:00
parent 27b04b6237
commit a23532c0fb
2 changed files with 6 additions and 2 deletions

6
debian/changelog vendored
View File

@ -1,8 +1,12 @@
ubuntu-dev-tools (0.24) UNRELEASED; urgency=low
[ Soren Hansen ]
* Handle epochs properly in submittodebian.
-- Soren Hansen <soren@ubuntu.com> Fri, 14 Dec 2007 17:30:04 +0100
[ Luke Yelavich ]
* update-maintainer: Default to main if rmadison gives no section output.
-- Luke Yelavich <themuso@ubuntu.com> Sat, 15 Dec 2007 15:48:33 +1100
ubuntu-dev-tools (0.23) hardy; urgency=low

View File

@ -68,7 +68,7 @@ if [ -z "$section" ]; then
echo "--section argument. Run $0 --help for more information." >&2
exit 1
fi
section=$(echo $pkgline | grep -Eo "main|universe|multiverse|restricted")
section=$(echo $pkgline | grep -Eo "main|universe|multiverse|restricted") || section=main
fi
case $section in
"main"|"restricted") email="Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>" ;;