summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doUpgrade.go2
-rw-r--r--structs.go3
2 files changed, 3 insertions, 2 deletions
diff --git a/doUpgrade.go b/doUpgrade.go
index d359af8..7a499e9 100644
--- a/doUpgrade.go
+++ b/doUpgrade.go
@@ -29,7 +29,7 @@ func doPackageList(all bool) {
}
func doUpgrade() error {
- me.machine, _ = zoopb.InitMachine()
+ me.machine, _ = debian.InitMachine()
if argv.Upgrade.List != nil {
if argv.All {
diff --git a/structs.go b/structs.go
index 9b3da7b..27da99f 100644
--- a/structs.go
+++ b/structs.go
@@ -6,6 +6,7 @@ package main
import (
"sync"
+ "go.wit.com/lib/debian"
"go.wit.com/lib/gui/prep"
"go.wit.com/lib/protobuf/forgepb"
"go.wit.com/lib/protobuf/zoopb"
@@ -32,6 +33,6 @@ func initForge() {
func initMachine() {
if me.machine == nil {
- me.machine, _ = zoopb.InitMachine()
+ me.machine, _ = debian.InitMachine()
}
}