Skip to content
Permalink
Browse files
  • Loading branch information
usmannasir committed Jun 23, 2020
1 parent a455a3e commit 2dfac4830fee4969e12c35a5f70a2e477cb1e880
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
@@ -1345,13 +1345,13 @@ def installLSCPD(self):

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)

command = 'rm -f /usr/local/lscp/bin/lscpd'
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)

command = 'chmod 755 %s' % (lscpdPath)
Binary file not shown.
@@ -1520,13 +1520,13 @@ def installLSCPD(branch):
if os.path.exists(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)

command = 'rm -f /usr/local/lscp/bin/lscpd'
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)

command = 'chmod 755 %s' % (lscpdPath)

0 comments on commit 2dfac48

Please sign in to comment.