pikman/ubuntu/commands.go

17 lines
365 B
Go

package ubuntu
var PackageManager = "sudo -S apt"
var Commands = map[string]string{
"autoremove": "autoremove",
"clean": "clean",
"install": "install",
"list": "list",
"purge": "purge",
"remove": "remove",
"search": "search",
"show": "show",
"update": "update",
"upgrade": "update && sudo -S apt dist-upgrade",
}