update build number

This commit is contained in:
Usman Nasir
2020-08-04 20:20:19 +05:00
parent f1b5589cdd
commit 165a453ab8
7 changed files with 7 additions and 7 deletions

View File

@@ -4,7 +4,7 @@ class CLMain():
def __init__(self): def __init__(self):
self.path = '/usr/local/CyberCP/version.txt' self.path = '/usr/local/CyberCP/version.txt'
#versionInfo = json.loads(open(self.path, 'r').read()) #versionInfo = json.loads(open(self.path, 'r').read())
self.version = '1.9' self.version = '2.0'
self.build = '3' self.build = '3'
ipFile = "/etc/cyberpanel/machineIP" ipFile = "/etc/cyberpanel/machineIP"

View File

@@ -19,7 +19,7 @@ from plogical.processUtilities import ProcessUtilities
# Create your views here. # Create your views here.
VERSION = '2.0' VERSION = '2.0'
BUILD = 2 BUILD = 3
@ensure_csrf_cookie @ensure_csrf_cookie
def renderBase(request): def renderBase(request):

View File

@@ -15,7 +15,7 @@ from stat import *
import stat import stat
VERSION = '2.0' VERSION = '2.0'
BUILD = 2 BUILD = 3
char_set = {'small': 'abcdefghijklmnopqrstuvwxyz', char_set = {'small': 'abcdefghijklmnopqrstuvwxyz',
'nums': '0123456789', 'nums': '0123456789',

View File

@@ -19,7 +19,7 @@ from django.utils import translation
# Create your views here. # Create your views here.
VERSION = '2.0' VERSION = '2.0'
BUILD = 2 BUILD = 3
def verifyLogin(request): def verifyLogin(request):
try: try:

View File

@@ -13,7 +13,7 @@ from packages.models import Package
from baseTemplate.models import version from baseTemplate.models import version
VERSION = '2.0' VERSION = '2.0'
BUILD = 2 BUILD = 3
if not os.geteuid() == 0: if not os.geteuid() == 0:
sys.exit("\nOnly root can run this script\n") sys.exit("\nOnly root can run this script\n")

View File

@@ -47,7 +47,7 @@ except:
pass pass
VERSION = '2.0' VERSION = '2.0'
BUILD = 2 BUILD = 3
## I am not the monster that you think I am.. ## I am not the monster that you think I am..

View File

@@ -14,7 +14,7 @@ import random
import string import string
VERSION = '2.0' VERSION = '2.0'
BUILD = 2 BUILD = 3
CENTOS7 = 0 CENTOS7 = 0
CENTOS8 = 1 CENTOS8 = 1