|
|
@ -346,8 +346,7 @@ void CPackageDescription::generatePatches(CBNPFileSet& packageIndex) const
|
|
|
|
if (packageIndex.getFile(i).versionCount()==1)
|
|
|
|
if (packageIndex.getFile(i).versionCount()==1)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
prevVersionFileName= _RootDirectory + "empty";
|
|
|
|
prevVersionFileName= _RootDirectory + "empty";
|
|
|
|
NLMISC::COFile tmpFile(prevVersionFileName);
|
|
|
|
CFile::createEmptyFile(prevVersionFileName);
|
|
|
|
tmpFile.close();
|
|
|
|
|
|
|
|
usingTemporaryFile = true;
|
|
|
|
usingTemporaryFile = true;
|
|
|
|
deleteRefAfterDelta= false;
|
|
|
|
deleteRefAfterDelta= false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|