| Line 1093... |
Line 1093... |
| 1093 |
Utils::String tofile = pCheckFile->filePointer().token("::", 2);
|
1093 |
Utils::String tofile = pCheckFile->filePointer().token("::", 2);
|
| 1094 |
|
1094 |
|
| 1095 |
CCatFile tocat;
|
1095 |
CCatFile tocat;
|
| 1096 |
int err = tocat.open(fit->filePointer().token("::", 1), "", CATREAD_CATDECRYPT, true);
|
1096 |
int err = tocat.open(fit->filePointer().token("::", 1), "", CATREAD_CATDECRYPT, true);
|
| 1097 |
if ( (err == CATERR_NONE) || (err == CATERR_CREATED) ) {
|
1097 |
if ( (err == CATERR_NONE) || (err == CATERR_CREATED) ) {
|
| 1098 |
tocat.AppendFile(pCheckFile->filePointer(), tofile);
|
1098 |
tocat.appendFile(pCheckFile->filePointer(), tofile);
|
| 1099 |
CLog::logf(CLog::Log_Install, 2, "Adding existing file into new mod File, %s => %s", fit->filePointer().token("::", 1).c_str(), tofile.c_str());
|
1099 |
CLog::logf(CLog::Log_Install, 2, "Adding existing file into new mod File, %s => %s", fit->filePointer().token("::", 1).c_str(), tofile.c_str());
|
| 1100 |
}
|
1100 |
}
|
| 1101 |
|
1101 |
|
| 1102 |
CCatFile fromcat;
|
1102 |
CCatFile fromcat;
|
| 1103 |
err = fromcat.open(pCheckFile->filePointer().token("::", 1), "", CATREAD_CATDECRYPT, false);
|
1103 |
err = fromcat.open(pCheckFile->filePointer().token("::", 1), "", CATREAD_CATDECRYPT, false);
|