aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common.Implementations/Updates/InstallationManager.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-12-29 09:12:29 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-12-29 09:12:29 -0500
commit3488cfecbd54eaaf917d853664f68cac84d472e9 (patch)
treea3f05e3f05e0441ae775b544d1b983a93ea49887 /MediaBrowser.Common.Implementations/Updates/InstallationManager.cs
parente19766b1b7e4735e18ebb0e997579f7671cc267c (diff)
make lazy loaded paths more nimble
Diffstat (limited to 'MediaBrowser.Common.Implementations/Updates/InstallationManager.cs')
-rw-r--r--MediaBrowser.Common.Implementations/Updates/InstallationManager.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/MediaBrowser.Common.Implementations/Updates/InstallationManager.cs b/MediaBrowser.Common.Implementations/Updates/InstallationManager.cs
index 0581343d3..18462ba9b 100644
--- a/MediaBrowser.Common.Implementations/Updates/InstallationManager.cs
+++ b/MediaBrowser.Common.Implementations/Updates/InstallationManager.cs
@@ -528,6 +528,7 @@ namespace MediaBrowser.Common.Implementations.Updates
// Success - move it to the real target
try
{
+ Directory.CreateDirectory(Path.GetDirectoryName(target));
File.Copy(tempFile, target, true);
//If it is an archive - write out a version file so we know what it is
if (isArchive)