summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-15 13:40:07 -0600
committerJeff Carr <[email protected]>2024-11-15 13:40:07 -0600
commit76db985cf1c3ca4ff792b82f6209e00ba5679b58 (patch)
tree1872ea7783d1790d3bfce9e05295650e5c2e922a /main.go
parentea96d4880eedd92d9c8228b84de028185ec941b2 (diff)
unstashed
Diffstat (limited to 'main.go')
-rw-r--r--main.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/main.go b/main.go
index 3368042..7734a58 100644
--- a/main.go
+++ b/main.go
@@ -25,6 +25,7 @@ import (
)
var VERSION string
+var BUILDTIME string
//go:embed resources/*
var resources embed.FS
@@ -51,10 +52,13 @@ func main() {
return
}
+ log.Info("debian has", len(installedPackages), "installed")
+ /*
// Print the installed packages and their versions
for pkg, version := range installedPackages {
fmt.Printf("%s: %s\n", pkg, version)
}
+ */
// Detect the Linux distribution
distro := detectDistro()
@@ -72,6 +76,7 @@ func main() {
return
}
+ /*
// Print the installed packages
fmt.Println("Installed Packages:")
for _, pkg := range packages {
@@ -79,6 +84,8 @@ func main() {
fmt.Println(pkg)
}
}
+ */
+ log.Info(distro, "has", len(packages), "installed")
go NewWatchdog()