Don't force install slapos if already installed.

parent 70dc5bfd
...@@ -652,7 +652,7 @@ def slapprepare(): ...@@ -652,7 +652,7 @@ def slapprepare():
,'http://download.opensuse.org/repositories/home:/VIFIBnexedi/openSUSE_12.1/', 'slapos']) ,'http://download.opensuse.org/repositories/home:/VIFIBnexedi/openSUSE_12.1/', 'slapos'])
except: except:
pass pass
_call(['zypper', '--gpg-auto-import-keys', 'install', '-fy', 'slapos.node']) _call(['zypper', '--gpg-auto-import-keys', 'install', '-y', 'slapos.node'])
_call(['systemctl', 'stop', 'slapos-node.service']) _call(['systemctl', 'stop', 'slapos-node.service'])
print "SlapOS has been updated" print "SlapOS has been updated"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment