bug fix: version number

This commit is contained in:
Usman Nasir
2020-03-29 21:48:10 +05:00
parent fea15fbeae
commit 1ba4da57c7

View File

@@ -521,6 +521,7 @@ class preFlightsChecks:
preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR)
try:
path = "/usr/local/CyberCP/version.txt"
writeToFile = open(path, 'w')
writeToFile.writelines('%s\n' % (VERSION))
writeToFile.writelines(str(BUILD))