update lscpd

This commit is contained in:
Usman Nasir
2020-01-22 16:27:15 +05:00
parent be3b1dd7b2
commit 4f47b842ad

View File

@@ -1494,13 +1494,13 @@ CSRF_COOKIE_SECURE = True
if os.path.exists(lscpdPath):
os.remove(lscpdPath)
command = 'wget https://cyberpanel.sh/lscpd-0.2.3 -P /usr/local/lscp/bin/'
command = 'wget https://cyberpanel.sh/lscpd-0.2.4 -P /usr/local/lscp/bin/'
Upgrade.executioner(command, command, 0)
command = 'rm -f /usr/local/lscp/bin/lscpd'
Upgrade.executioner(command, command, 0)
command = 'mv /usr/local/lscp/bin/lscpd-0.2.3 /usr/local/lscp/bin/lscpd'
command = 'mv /usr/local/lscp/bin/lscpd-0.2.4 /usr/local/lscp/bin/lscpd'
Upgrade.executioner(command, command, 0)
command = 'chmod 755 %s' % (lscpdPath)