Handle the newer package attributes

This unbreaks reading repository cache files using the respective
attributes.
This commit is contained in:
Ingo Weinhold
2011-07-17 16:55:19 +02:00
parent 5bc6952049
commit abf1023d31
+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);