mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
update-maintainer: Fix incorrect Maintainer field.
This commit is contained in:
parent
53cd9f8641
commit
f74f18f9a3
@ -84,7 +84,12 @@ if not (ubuntutools.packages.checkIsInDebian(package_name, 'unstable') or ubuntu
|
|||||||
sys.stderr.write('The environment variable DEBEMAIL or EMAIL ' +\
|
sys.stderr.write('The environment variable DEBEMAIL or EMAIL ' +\
|
||||||
'needs to be set to make proper use of this script.\n')
|
'needs to be set to make proper use of this script.\n')
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
target_maintainer = user_email_address
|
user_name = os.getenv('DEBFULLNAME')
|
||||||
|
if not user_name:
|
||||||
|
sys.stderr.write('The environment variable DEBFULLNAME ' +\
|
||||||
|
'needs to be set to make proper use of this script.\n')
|
||||||
|
sys.exit(1)
|
||||||
|
target_maintainer = user_name + ' <' + user_email_address + '>'
|
||||||
else:
|
else:
|
||||||
target_maintainer = "Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>"
|
target_maintainer = "Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user