pikman/ubuntu/commands.go

17 lines
365 B
Go
Raw Normal View History

2023-01-18 18:42:08 +01:00
package ubuntu
2024-08-03 12:12:56 +02:00
var PackageManager = "sudo -S apt"
2023-01-18 18:42:08 +01:00
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",
2023-01-18 18:42:08 +01:00
}