parent
43e36b8408
commit
4cfdff5db8
|
@ -58,6 +58,11 @@ func mainTab(n *gui.Node) {
|
||||||
rn.NewButton("apt sources", func () {
|
rn.NewButton("apt sources", func () {
|
||||||
xterm("cd ~/jcarr/setup; make setup-apt-sources; make setup-apt-file")
|
xterm("cd ~/jcarr/setup; make setup-apt-sources; make setup-apt-file")
|
||||||
})
|
})
|
||||||
|
rn.NewButton("apt update", func () {
|
||||||
|
myGui.CloseToolkit("gocui")
|
||||||
|
doCmd("apt update")
|
||||||
|
os.Exit(0)
|
||||||
|
})
|
||||||
rn.NewButton("purge rc-only", func () {
|
rn.NewButton("purge rc-only", func () {
|
||||||
xterm("cd ~/jcarr/setup; make reset-purge-rc-only-packages")
|
xterm("cd ~/jcarr/setup; make reset-purge-rc-only-packages")
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue