Reduce removals list to only things that cannot be unchecked during installation

This commit is contained in:
2025-09-28 03:15:43 -04:00
parent 93fe7a13bd
commit a986d9b17e
4 changed files with 33 additions and 22 deletions
-7
View File
@@ -26,7 +26,6 @@ func applications() {
fallthrough
case 4:
managePackage("-S", "yay-bin")
managePackage("-Rcns", "paru")
if !doAll {
break
@@ -34,7 +33,6 @@ func applications() {
fallthrough
case 5:
managePackage("-S", "htop")
managePackage("-Rcns", "btop")
if !doAll {
break
@@ -42,11 +40,6 @@ func applications() {
fallthrough
case 6:
managePackage("-S", "neovim")
cmd := exec.Command("pacman", "-Rcns", "vi", "vim", "nano", "micro", "--noconfirm")
err := cmd.Run()
if err != nil {
other.PrintError("Failed to perform application removals for neovim installation", 1)
}
if !doAll {
break