This commit is contained in:
Edu Gómez Escandell 2022-09-27 14:13:36 +02:00
parent d4f76d1ce8
commit b939b0e552
1 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ The installer will guide you through installing {description}.
The installer only requires the up and down arrow keys, space (or The installer only requires the up and down arrow keys, space (or
return) and the occasional bit of typing. return) and the occasional bit of typing.
This is version {snap_version} of the installer. This is revision {snap_revision} of the installer.
""") """)
@ -44,7 +44,7 @@ def _about_msg(msg, dry_run):
info.update({ info.update({
'id': newId, 'id': newId,
'description': info["description"].replace(info["id"], newId), 'description': info["description"].replace(info["id"], newId),
'snap_version': os.environ.get("SNAP_VERSION", "SNAP_VERSION") 'snap_revision': os.environ.get("SNAP_REVISION", "SNAP_REVISION")
}) })
return msg.format(**info) return msg.format(**info)