mirror of
https://github.com/EnumeratedDev/bpm.git
synced 2026-09-16 10:36:12 +00:00
Remove subcommand will now run without specifying any packages
This commit is contained in:
@@ -507,10 +507,6 @@ func removePackages() {
|
||||
|
||||
// Get packages
|
||||
packages := currentFlagSet.Args()
|
||||
if len(packages) == 0 {
|
||||
fmt.Println("No packages were given to remove")
|
||||
return
|
||||
}
|
||||
|
||||
// Check for required permissions
|
||||
if os.Getuid() != 0 {
|
||||
|
||||
Reference in New Issue
Block a user