diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-01-13 07:01:40 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-01-13 07:01:40 +0000 |
commit | b83f8d6435295a0e56bb1b110c3d39e93fd332e3 (patch) | |
tree | 8b4cd9b2d8feeca7fa2f6e020917df2db301264a /text.py | |
parent | 2135bea9af88c4a57cb9b62a6395368e0b1d75be (diff) | |
download | anaconda-b83f8d6435295a0e56bb1b110c3d39e93fd332e3.tar.gz anaconda-b83f8d6435295a0e56bb1b110c3d39e93fd332e3.tar.xz anaconda-b83f8d6435295a0e56bb1b110c3d39e93fd332e3.zip |
productname and productversion are now defined by passing args to buildinstall
so that we don't have them hard coded in the package. they end up in
/.buildstamp along with the timestamp for the image.
add support for substituting @RHL@ and @RHLVER@ in the help with the
product name or version to avoid having to change the help unless its needed
Diffstat (limited to 'text.py')
-rw-r--r-- | text.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -195,6 +195,9 @@ class InstallInterface: return None l = f.readlines() + for l in lines: + l = l.replace("@RHL@", productName) + l = l.replace("@RHLVER@", productVersion) while not string.strip(l[0]): l = l[1:] title = string.strip(l[0]) |