|
|
@ -79,6 +79,8 @@ namespace NzbDrone.Update.Providers
|
|
|
|
try
|
|
|
|
try
|
|
|
|
{
|
|
|
|
{
|
|
|
|
_diskProvider.CopyDirectory(_enviromentProvider.GetUpdatePackageFolder(), targetFolder);
|
|
|
|
_diskProvider.CopyDirectory(_enviromentProvider.GetUpdatePackageFolder(), targetFolder);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
logger.Trace("Deleting Update Package.");
|
|
|
|
_diskProvider.DeleteFolder(_enviromentProvider.GetUpdatePackageFolder(), true);
|
|
|
|
_diskProvider.DeleteFolder(_enviromentProvider.GetUpdatePackageFolder(), true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch (Exception e)
|
|
|
|
catch (Exception e)
|
|
|
|