Patch level :2.0 496

Files correlati     :ba1.exe
Ricompilazione Demo : [ ]
Commento            :sistemato problema della rinominazione di wxmsw240.dl_ nella directory
dei servers


git-svn-id: svn://10.65.10.50/trunk@11236 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2003-06-13 09:42:11 +00:00
parent 99c4035bb0
commit 7a2dca9d28

View File

@ -573,7 +573,7 @@ bool TInstaller_mask::move_file(const TFilename& src, const TFilename& dst) cons
{
TFilename dest = dst;
const int reboot = needs_reboot(dest);
if (reboot > NEW_MENU)
if (reboot > NEW_MENU && dst.exist())
{
dest.rtrim(1);
dest << '_';
@ -588,7 +588,7 @@ bool TInstaller_mask::move_file(const TFilename& src, const TFilename& dst) cons
{
subdir.add(dirs.get(c));
if (subdir.right(1) == ":" )
subdir << '\\';
subdir << SLASH;
if (!subdir.exist() )
// build destination directory
make_dir(subdir);
@ -943,7 +943,7 @@ bool TInstaller_mask::install(const TString& module, int patchlevel)
src = path;
src.add(dst);
const int reboot = needs_reboot(dst);
if (reboot > NEW_MENU)
if (reboot > NEW_MENU && dst.exist())
{
dst.rtrim(1);
dst << '_';