diff --git a/Shared/TSListControllerShared.m b/Shared/TSListControllerShared.m index ac4d317..a25c456 100644 --- a/Shared/TSListControllerShared.m +++ b/Shared/TSListControllerShared.m @@ -49,6 +49,7 @@ else { NSString* tarTmpPath = [NSTemporaryDirectory() stringByAppendingPathComponent:@"TrollStore.tar"]; + [[NSFileManager defaultManager] removeItemAtPath:tarTmpPath error:nil]; [[NSFileManager defaultManager] copyItemAtPath:location.path toPath:tarTmpPath error:nil]; doHandler(tarTmpPath);