Changeset 559 for AE/Installer


Ignore:
Timestamp:
May 30, 2010, 3:58:25 AM (9 years ago)
Author:
gumby
Message:

BSLBackup only backupededed on first update.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • AE/Installer/trunk/source/installer.cpp

    r558 r559  
    659659
    660660        ofstream BSLlog("BSL.log");
    661         if(exists("../GameDataFolder/BSLBackup/")) {
    662                 remove_all("../GameDataFolder/BSLBackup/");
    663         }
    664         else {
     661        if(!exists("../GameDataFolder/BSLBackup/")) {
    665662                create_directory("../GameDataFolder/BSLBackup/");
    666         }
    667         copy("../GameDataFolder/IGMD/", "../GameDataFolder/BSLBackup/");
     663                copy("../GameDataFolder/IGMD/", "../GameDataFolder/BSLBackup/");
     664        }
     665       
    668666        for ( directory_iterator dir_itr( "../GameDataFolder/IGMD/" ), end_itr;
    669667                 dir_itr != end_itr;
Note: See TracChangeset for help on using the changeset viewer.