1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-30 19:56:54 +00:00

delete target folder before update

This commit is contained in:
Keivan Beigi 2013-08-30 18:56:12 -07:00 committed by kay.one
parent bceaee27a3
commit b6e4f5ed46

View file

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