From 30a517bc64e3777f47cb811ea342892cd7334e72 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Tue, 17 Sep 2013 17:54:17 +0200 Subject: [PATCH] Add handling of B_PACAKGE_INFO_CHECKSUM to PackageInfoPrinter. --- src/bin/package/PackageInfoPrinter.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/bin/package/PackageInfoPrinter.h b/src/bin/package/PackageInfoPrinter.h index 535865765a..7284312cb6 100644 --- a/src/bin/package/PackageInfoPrinter.h +++ b/src/bin/package/PackageInfoPrinter.h @@ -207,6 +207,10 @@ public: PrintInstallPath(value.string); break; + case B_PACKAGE_INFO_CHECKSUM: + PrintChecksum(value.string); + break; + default: return false; } @@ -381,6 +385,11 @@ public: printf("\tinstall path: %s\n", path); } + void PrintChecksum(const char* checksum) const + { + printf("\tchecksum: %s\n", checksum); + } + private: void _PrintResolvableExpression(const char* fieldName, const BPackageResolvableExpression& expression) const