Cleaning up quantum in dashboard if it exists (since we symlink for the client).
This commit is contained in:
parent
6b7f6b547d
commit
ecaa860534
@ -120,8 +120,12 @@ class HorizonInstaller(comp.PythonInstallComponent):
|
||||
#TODO remove this junk, blah, puke that we have to do this
|
||||
qc = self.instances[settings.QUANTUM_CLIENT]
|
||||
src_pth = sh.joinpths(qc.appdir, 'quantum')
|
||||
tgt_dir = sh.joinpths(self.dash_dir, 'quantum')
|
||||
if sh.isdir(src_pth):
|
||||
links[src_pth] = sh.joinpths(self.dash_dir, 'quantum')
|
||||
links[src_pth] = tgt_dir
|
||||
#whhhhy???
|
||||
if sh.isdir(tgt_dir):
|
||||
sh.deldir(tgt_dir)
|
||||
return links
|
||||
|
||||
def _check_ug(self):
|
||||
|
Loading…
Reference in New Issue
Block a user