Handle the newer package attributes

This unbreaks reading repository cache files using the respective
attributes.
This commit is contained in:
Ingo Weinhold 2011-07-15 13:23:30 +02:00
parent d0b2d58a4e
commit 1524eed163
1 changed files with 12 additions and 0 deletions

View File

@ -135,6 +135,18 @@ struct RepositoryContentHandler : BRepositoryContentHandler {
fPackageInfo.AddReplaces(value.string); fPackageInfo.AddReplaces(value.string);
break; break;
case B_PACKAGE_INFO_URLS:
fPackageInfo.AddURL(value.string);
break;
case B_PACKAGE_INFO_SOURCE_URLS:
fPackageInfo.AddSourceURL(value.string);
break;
case B_PACKAGE_INFO_INSTALL_PATH:
fPackageInfo.SetInstallPath(value.string);
break;
case B_PACKAGE_INFO_CHECKSUM: case B_PACKAGE_INFO_CHECKSUM:
{ {
fPackageInfo.SetChecksum(value.string); fPackageInfo.SetChecksum(value.string);