diff options
author | Justin Clark-Casey (justincc) | 2012-11-01 03:42:15 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-11-01 03:42:15 +0000 |
commit | 8dfe59d7b88309fdc2436abe7dda9a2fc699a427 (patch) | |
tree | f39b7f06b38e0af1d01638ba9994f149706595eb /OpenSim | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC-8dfe59d7b88309fdc2436abe7dda9a2fc699a427.zip opensim-SC-8dfe59d7b88309fdc2436abe7dda9a2fc699a427.tar.gz opensim-SC-8dfe59d7b88309fdc2436abe7dda9a2fc699a427.tar.bz2 opensim-SC-8dfe59d7b88309fdc2436abe7dda9a2fc699a427.tar.xz |
Comment out checks not to overwrite existing IAR/OAR files for now on "save iar/oar" since this causes problems for some backup systems.
Needs more thought, maybe an explicit --force/--overwrite switch
Comments on http://opensimulator.org/mantis/view.php?id=6389
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiverModule.cs | 4 | ||||
-rw-r--r-- | OpenSim/Region/CoreModules/World/Archiver/ArchiverModule.cs | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiverModule.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiverModule.cs index afe1200..fdba682 100644 --- a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiverModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiverModule.cs | |||
@@ -210,8 +210,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver | |||
210 | Guid id, string firstName, string lastName, string invPath, string pass, string savePath, | 210 | Guid id, string firstName, string lastName, string invPath, string pass, string savePath, |
211 | Dictionary<string, object> options) | 211 | Dictionary<string, object> options) |
212 | { | 212 | { |
213 | if (!ConsoleUtil.CheckFileDoesNotExist(MainConsole.Instance, savePath)) | 213 | // if (!ConsoleUtil.CheckFileDoesNotExist(MainConsole.Instance, savePath)) |
214 | return false; | 214 | // return false; |
215 | 215 | ||
216 | if (m_scenes.Count > 0) | 216 | if (m_scenes.Count > 0) |
217 | { | 217 | { |
diff --git a/OpenSim/Region/CoreModules/World/Archiver/ArchiverModule.cs b/OpenSim/Region/CoreModules/World/Archiver/ArchiverModule.cs index 970487a..abf3713 100644 --- a/OpenSim/Region/CoreModules/World/Archiver/ArchiverModule.cs +++ b/OpenSim/Region/CoreModules/World/Archiver/ArchiverModule.cs | |||
@@ -158,8 +158,10 @@ namespace OpenSim.Region.CoreModules.World.Archiver | |||
158 | else | 158 | else |
159 | path = DEFAULT_OAR_BACKUP_FILENAME; | 159 | path = DEFAULT_OAR_BACKUP_FILENAME; |
160 | 160 | ||
161 | if (!ConsoleUtil.CheckFileDoesNotExist(MainConsole.Instance, path)) | 161 | // Not doing this right now as this causes some problems with auto-backup systems. Maybe a force flag is |
162 | return; | 162 | // needed |
163 | // if (!ConsoleUtil.CheckFileDoesNotExist(MainConsole.Instance, path)) | ||
164 | // return; | ||
163 | 165 | ||
164 | ArchiveRegion(path, options); | 166 | ArchiveRegion(path, options); |
165 | } | 167 | } |