// Copyright 2017-2025 WIT.COM Inc. All rights reserved. // Use of this source code is governed by the GPL 3.0 package main import ( "go.wit.com/lib/protobuf/zoopb" ) func doUpgrade() error { var cmd []string checkSuperuser() cmd = []string{"apt", "update"} exitOnError(cmd) cmd = []string{"apt", "install", "wit-tools"} exitOnError(cmd) me.machine, _ = zoopb.InitMachine() doAptUpgrade() return nil }