summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--parseDpkgOutputIntoPB.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/parseDpkgOutputIntoPB.go b/parseDpkgOutputIntoPB.go
index 645e888..ecddf4b 100644
--- a/parseDpkgOutputIntoPB.go
+++ b/parseDpkgOutputIntoPB.go
@@ -123,9 +123,11 @@ func ParseDpkgOutputIntoPB(pb *zoopb.Package, all string) {
}
}
case "Deb-File-Date":
+ pb.DebInfo.DebCtime = varval
t, _ := cobol.GetTime(varval)
pb.Ctime = timestamppb.New(t)
case "Build-Date":
+ pb.DebInfo.BuildDate = varval
t, err := cobol.GetTime(varval)
if err == nil {
pb.BuildDate = timestamppb.New(t)