summaryrefslogtreecommitdiff
path: root/tableDefault.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-09 20:01:19 -0500
committerJeff Carr <[email protected]>2025-10-09 20:06:43 -0500
commiteb947f9b20ab26f3a264512d9ea876c503eb0ec1 (patch)
tree4c4159a3c54e4e7b1257d874019016ca6f87aeac /tableDefault.go
parent5abcfec4a234a3b4d8f60fa56d85152c06c43da2 (diff)
make /home/mirrors/debian/distsv0.0.82
Diffstat (limited to 'tableDefault.go')
-rw-r--r--tableDefault.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/tableDefault.go b/tableDefault.go
index bc3ef86..a787540 100644
--- a/tableDefault.go
+++ b/tableDefault.go
@@ -107,8 +107,10 @@ func (m *Machine) makeSmartTable(pb *Packages) *PackagesTable {
col = t.AddVersion()
col.Width = 20
- col = t.AddMD5SUM()
- col.Width = 8
+ col = t.AddStringFunc("md5sum", func(p *Package) string {
+ return p.DebInfo.MD5SUM
+ })
+ col.Width = 3
col = t.AddFilename()
col.Width = -1