From a23532c0fbfcc3b488fa8fabb5dc944ec2b78dab Mon Sep 17 00:00:00 2001 From: Luke Yelavich Date: Sat, 15 Dec 2007 15:49:55 +1100 Subject: [PATCH] * update-maintainer: Default to main if rmadison gives no section output. --- debian/changelog | 6 +++++- update-maintainer | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 86d02c0..ca5e6ec 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,12 @@ ubuntu-dev-tools (0.24) UNRELEASED; urgency=low + [ Soren Hansen ] * Handle epochs properly in submittodebian. - -- Soren Hansen Fri, 14 Dec 2007 17:30:04 +0100 + [ Luke Yelavich ] + * update-maintainer: Default to main if rmadison gives no section output. + + -- Luke Yelavich Sat, 15 Dec 2007 15:48:33 +1100 ubuntu-dev-tools (0.23) hardy; urgency=low diff --git a/update-maintainer b/update-maintainer index 31de264..b2c41a1 100755 --- a/update-maintainer +++ b/update-maintainer @@ -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 " ;;