Handle the newer package attributes

This unbreaks reading repository cache files using the respective
attributes.
This commit is contained in:
Ingo Weinhold
2011-11-25 06:19:43 +01:00
parent d0b2d58a4e
commit 1524eed163
+12
View File
@@ -135,6 +135,18 @@ struct RepositoryContentHandler : BRepositoryContentHandler {
fPackageInfo.AddReplaces(value.string);
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:
{
fPackageInfo.SetChecksum(value.string);