delete target folder before update

pull/30/head
Keivan Beigi 11 years ago committed by kay.one
parent bceaee27a3
commit b6e4f5ed46

@ -64,6 +64,7 @@ namespace NzbDrone.Update.UpdateEngine
try
{
_diskProvider.DeleteFolder(installationFolder, true);
_diskProvider.CopyFolder(_appFolderInfo.GetUpdatePackageFolder(), installationFolder);
}
catch (Exception e)

Loading…
Cancel
Save