Handle the newer package attributes
This unbreaks reading repository cache files using the respective attributes.
This commit is contained in:
parent
5bc6952049
commit
abf1023d31
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user