mirror of
https://github.com/rwinkhart/cachyos-postinstall-helper.git
synced 2026-08-27 20:36:32 -04:00
24 lines
419 B
Go
24 lines
419 B
Go
package main
|
|
|
|
import (
|
|
"github.com/rwinkhart/go-boilerplate/front"
|
|
)
|
|
|
|
// TODO remove unneeded linux-firmware packages!
|
|
func removals() {
|
|
for {
|
|
var doAll bool
|
|
choice := front.InputMenuGen("Application to remove:", []string{"BACK", "linux-cachyos-lts"})
|
|
var target string
|
|
switch choice {
|
|
case 1:
|
|
return
|
|
case 2:
|
|
target = "linux-cachyos-lts"
|
|
}
|
|
if !doAll {
|
|
managePackage("-Rcns", target)
|
|
}
|
|
}
|
|
}
|