mirror of
https://github.com/rwinkhart/cachyos-postinstall-helper.git
synced 2026-09-05 16:47:32 -04:00
Add utility function for simple package management
This commit is contained in:
+1
-5
@@ -38,11 +38,7 @@ func removals() {
|
||||
target = "modemmanager"
|
||||
}
|
||||
if !doAll {
|
||||
cmd := exec.Command("pacman", "-Rcns", target, "--noconfirm")
|
||||
err := cmd.Run()
|
||||
if err != nil {
|
||||
other.PrintError("Failed to remove "+target, 1)
|
||||
}
|
||||
managePackage("-Rcns", target)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user