|
|
|
@ -783,8 +783,9 @@ class client(share, commandServer, encrypt):
|
|
|
|
|
else:
|
|
|
|
|
self.fileReader(srcArchFile, copyToObj)
|
|
|
|
|
except:
|
|
|
|
|
self.printERROR(_("Can not copy '%s' -> '%s'")\
|
|
|
|
|
%(srcArchFile, dstArchFile))
|
|
|
|
|
self.printERROR(_("Can not copy '%(from)s' -> '%(to)s'")\
|
|
|
|
|
%{'from':srcArchFile,
|
|
|
|
|
'to':dstArchFile})
|
|
|
|
|
return False
|
|
|
|
|
if progress:
|
|
|
|
|
progressObj.shutdownDialog()
|
|
|
|
@ -1537,7 +1538,7 @@ class client(share, commandServer, encrypt):
|
|
|
|
|
else:
|
|
|
|
|
os.remove(rmPath)
|
|
|
|
|
except:
|
|
|
|
|
self.printERROR(_("Can nor remove %s")%rmPath)
|
|
|
|
|
self.printERROR(_("Can not remove %s")%rmPath)
|
|
|
|
|
return False
|
|
|
|
|
return True
|
|
|
|
|
|
|
|
|
@ -1803,8 +1804,9 @@ class client(share, commandServer, encrypt):
|
|
|
|
|
return False
|
|
|
|
|
# Удаление программы из инсталяционной переменной
|
|
|
|
|
if not removeProgramToEnvFile(__app__, self.clVars):
|
|
|
|
|
self.printERROR(_("Can not remove '%s' to %s")%(__app__,
|
|
|
|
|
self.clVars.Get("cl_env_path")[0]))
|
|
|
|
|
self.printERROR(_("Can not remove '%(app)s' from %(path)s")%
|
|
|
|
|
{'app':__app__,
|
|
|
|
|
'path':self.clVars.Get("cl_env_path")[0]})
|
|
|
|
|
return False
|
|
|
|
|
self.printOK(_("Apply uninstall templates"))
|
|
|
|
|
return True
|
|
|
|
|