func (inst *snapInstruction) deactivate() interface{} { return snappy.SetActive(inst.pkg, false, inst) }
func (x *cmdActivate) doActivate() error { return snappy.SetActive(x.Args.Snap, x.activate, progress.MakeProgressBar()) }
func (inst *packageInstruction) deactivate() interface{} { return snappy.SetActive(inst.pkg, false, inst.prog) }
func (inst *packageInstruction) activate() interface{} { return snappy.SetActive(inst.pkg, true, inst) }