summaryrefslogtreecommitdiff
path: root/old
diff options
context:
space:
mode:
Diffstat (limited to 'old')
-rw-r--r--old/apt.go39
-rw-r--r--old/apt_darwin.go11
-rw-r--r--old/apt_windows.go11
3 files changed, 0 insertions, 61 deletions
diff --git a/old/apt.go b/old/apt.go
deleted file mode 100644
index 4b9018b..0000000
--- a/old/apt.go
+++ /dev/null
@@ -1,39 +0,0 @@
-package zoopb
-
-import (
- "fmt"
-)
-
-// init the installed package list
-func initPackages(me *Machine) {
- // Get the list of installed packages for the detected distro
- newP, err := getPackageList(me.Distro)
- if err != nil {
- fmt.Println("Error:", err)
- return
- }
-
- if me.Packages == nil {
- me.Packages = new(Packages)
- }
-
- // Print the installed packages and their versions
- for pkg, version := range newP {
- new1 := new(Package)
- new1.Name = pkg
- new1.Version = version
- me.Packages.Append(new1)
- // log.Info("added", new1.Name, "failed")
- }
-
- me.getMemory()
-}
-
-/*
-func (me *Machine) addNew(name string, version string) {
- new1 := new(Package)
- new1.Name = name
- new1.Version = version
- me.Packages.Append(new1)
-}
-*/
diff --git a/old/apt_darwin.go b/old/apt_darwin.go
deleted file mode 100644
index 0fc8e0f..0000000
--- a/old/apt_darwin.go
+++ /dev/null
@@ -1,11 +0,0 @@
-package zoopb
-
-import (
- "go.wit.com/log"
-)
-
-// getPackageList returns the list of installed packages based on the distro
-func getPackageList(distro string) (map[string]string, error) {
- log.Info("zoopb: have not done macos yet, skipping okay")
- return nil, nil
-}
diff --git a/old/apt_windows.go b/old/apt_windows.go
deleted file mode 100644
index feec104..0000000
--- a/old/apt_windows.go
+++ /dev/null
@@ -1,11 +0,0 @@
-package zoopb
-
-import (
- "go.wit.com/log"
-)
-
-// getPackageList returns the list of installed packages based on the distro
-func getPackageList(distro string) (map[string]string, error) {
- log.Info("zoopb: have not done windows yet, skipping okay")
- return nil, nil
-}