summaryrefslogtreecommitdiffstats
path: root/tools/export.py
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2011-02-01 19:20:35 -0600
committerSol Jerome <sol.jerome@gmail.com>2011-02-01 19:20:35 -0600
commitec9ce75979b16711b2e092b20abf2806350b3ac2 (patch)
tree7c6fb57b58add0c87f21988684deb4531568567e /tools/export.py
parent100b9fd9aad33f7c126f33db3ee9ea05aefca539 (diff)
downloadbcfg2-ec9ce75979b16711b2e092b20abf2806350b3ac2.tar.gz
bcfg2-ec9ce75979b16711b2e092b20abf2806350b3ac2.tar.bz2
bcfg2-ec9ce75979b16711b2e092b20abf2806350b3ac2.zip
export.py: Update solaris package versions
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'tools/export.py')
-rwxr-xr-xtools/export.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/export.py b/tools/export.py
index 83f13923b..971102290 100755
--- a/tools/export.py
+++ b/tools/export.py
@@ -59,6 +59,14 @@ for line in fileinput.input('solaris/Makefile', inplace=1):
if line.startswith('VERS='):
line = line.replace(line, 'VERS=%s-1\n' % version)
sys.stdout.write(line)
+for line in fileinput.input('solaris/pkginfo.bcfg2', inplace=1):
+ if line.startswith('VERSION='):
+ line = line.replace(line, 'VERSION=%s\n' % version)
+ sys.stdout.write(line)
+for line in fileinput.input('solaris/pkginfo.bcfg2-server', inplace=1):
+ if line.startswith('VERSION='):
+ line = line.replace(line, 'VERSION=%s\n' % version)
+ sys.stdout.write(line)
# update the version in reports
for line in fileinput.input('src/lib/Server/Reports/reports/templates/base.html', inplace=1):
if 'Bcfg2 Version' in line: