From 165a453ab8d17548dcf5813fe4e431190ccce35f Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Tue, 4 Aug 2020 20:20:19 +0500 Subject: [PATCH] update build number --- CLScript/CLMain.py | 2 +- baseTemplate/views.py | 2 +- install/install.py | 2 +- loginSystem/views.py | 2 +- plogical/adminPass.py | 2 +- plogical/backupUtilities.py | 2 +- plogical/upgrade.py | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CLScript/CLMain.py b/CLScript/CLMain.py index 26f64fed1..c6f730ba4 100644 --- a/CLScript/CLMain.py +++ b/CLScript/CLMain.py @@ -4,7 +4,7 @@ class CLMain(): def __init__(self): self.path = '/usr/local/CyberCP/version.txt' #versionInfo = json.loads(open(self.path, 'r').read()) - self.version = '1.9' + self.version = '2.0' self.build = '3' ipFile = "/etc/cyberpanel/machineIP" diff --git a/baseTemplate/views.py b/baseTemplate/views.py index 9538ad618..d1cb341be 100755 --- a/baseTemplate/views.py +++ b/baseTemplate/views.py @@ -19,7 +19,7 @@ from plogical.processUtilities import ProcessUtilities # Create your views here. VERSION = '2.0' -BUILD = 2 +BUILD = 3 @ensure_csrf_cookie def renderBase(request): diff --git a/install/install.py b/install/install.py index 3d9debdc4..9f284f16b 100755 --- a/install/install.py +++ b/install/install.py @@ -15,7 +15,7 @@ from stat import * import stat VERSION = '2.0' -BUILD = 2 +BUILD = 3 char_set = {'small': 'abcdefghijklmnopqrstuvwxyz', 'nums': '0123456789', diff --git a/loginSystem/views.py b/loginSystem/views.py index dac9109f2..cbeb96b53 100644 --- a/loginSystem/views.py +++ b/loginSystem/views.py @@ -19,7 +19,7 @@ from django.utils import translation # Create your views here. VERSION = '2.0' -BUILD = 2 +BUILD = 3 def verifyLogin(request): try: diff --git a/plogical/adminPass.py b/plogical/adminPass.py index ec09322c5..bf32680c0 100755 --- a/plogical/adminPass.py +++ b/plogical/adminPass.py @@ -13,7 +13,7 @@ from packages.models import Package from baseTemplate.models import version VERSION = '2.0' -BUILD = 2 +BUILD = 3 if not os.geteuid() == 0: sys.exit("\nOnly root can run this script\n") diff --git a/plogical/backupUtilities.py b/plogical/backupUtilities.py index dbbdf6a20..c4b79db1f 100755 --- a/plogical/backupUtilities.py +++ b/plogical/backupUtilities.py @@ -47,7 +47,7 @@ except: pass VERSION = '2.0' -BUILD = 2 +BUILD = 3 ## I am not the monster that you think I am.. diff --git a/plogical/upgrade.py b/plogical/upgrade.py index 9905efe3c..1bf126abd 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -14,7 +14,7 @@ import random import string VERSION = '2.0' -BUILD = 2 +BUILD = 3 CENTOS7 = 0 CENTOS8 = 1