Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Jun 23, 2020
1 parent a455a3e commit 2dfac48
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions install/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Binary file renamed lscpd-0.2.5 → lscpd-0.2.7
Binary file not shown.
4 changes: 2 additions & 2 deletions plogical/upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2dfac48

Please sign in to comment.