Commit 01b1245d authored by michael-west's avatar michael-west

Debian: Minor change to

- Change "trusty" to a more generic "ubuntu_release" placeholder
parent 45db6fe1
......@@ -40,12 +40,8 @@ def convert_version_string(version, to_debian=True):
return "## {0}".format(".".join("{0:03d}".format(int(num)) for num in version.split(".")))
# The "trusty" string below doesn't need to be changed, even when Trusty loses support. The script
# to upload packages replaces it anyway.
def get_header(version):
return "uhd ({0}-0ubuntu1) trusty; urgency=low\n\n".format(convert_version_string(version))
return "uhd ({0}-0ubuntu1) ubuntu_release; urgency=low\n\n".format(convert_version_string(version))
def get_footer(uploader_name, uploader_email):
return " -- {0} <{1}> {2}\n\n".format(uploader_name, uploader_email,"%a, %d %b %Y %I:%M:%S %Z-0800"))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment