Usman Nasir
2020-06-23 11:49:52 +05:00
parent a455a3eab4
commit 2dfac4830f
3 changed files with 4 additions and 4 deletions

View File

@@ -1345,13 +1345,13 @@ imap_folder_list_limit = 0
lscpdPath = '/usr/local/lscp/bin/lscpd' lscpdPath = '/usr/local/lscp/bin/lscpd'
command = 'cp -f /usr/local/CyberCP/lscpd-0.2.5 /usr/local/lscp/bin/lscpd-0.2.5' command = 'cp -f /usr/local/CyberCP/lscpd-0.2.7 /usr/local/lscp/bin/lscpd-0.2.7'
preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR) preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR)
command = 'rm -f /usr/local/lscp/bin/lscpd' command = 'rm -f /usr/local/lscp/bin/lscpd'
preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR) preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR)
command = 'mv /usr/local/lscp/bin/lscpd-0.2.5 /usr/local/lscp/bin/lscpd' command = 'mv /usr/local/lscp/bin/lscpd-0.2.7 /usr/local/lscp/bin/lscpd'
preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR) preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR)
command = 'chmod 755 %s' % (lscpdPath) command = 'chmod 755 %s' % (lscpdPath)

Binary file not shown.

View File

@@ -1520,13 +1520,13 @@ class Upgrade:
if os.path.exists(lscpdPath): if os.path.exists(lscpdPath):
os.remove(lscpdPath) os.remove(lscpdPath)
command = 'cp -f /usr/local/CyberCP/lscpd-0.2.5 /usr/local/lscp/bin/lscpd-0.2.5' command = 'cp -f /usr/local/CyberCP/lscpd-0.2.7 /usr/local/lscp/bin/lscpd-0.2.7'
Upgrade.executioner(command, command, 0) Upgrade.executioner(command, command, 0)
command = 'rm -f /usr/local/lscp/bin/lscpd' command = 'rm -f /usr/local/lscp/bin/lscpd'
Upgrade.executioner(command, command, 0) Upgrade.executioner(command, command, 0)
command = 'mv /usr/local/lscp/bin/lscpd-0.2.5 /usr/local/lscp/bin/lscpd' command = 'mv /usr/local/lscp/bin/lscpd-0.2.7 /usr/local/lscp/bin/lscpd'
Upgrade.executioner(command, command, 0) Upgrade.executioner(command, command, 0)
command = 'chmod 755 %s' % (lscpdPath) command = 'chmod 755 %s' % (lscpdPath)