linutil
linutil copied to clipboard
📃 fix(system-cleanup): pacman orphan package removal
Type of Change]
- [x] Bug fix
- [x] Hotfix
Description
As you can see below, the script fails because:
- Command structure for package removal is wrong
-
-Rreturns1when there are no packages provided
All fixed here
Redirecting the output to /dev/null so the script's output doesn't get flooded.
Testing
Works :)
Issues / other PRs related
- Resolves #741
Additional Information
Checklist
- [x] My code adheres to the coding and style guidelines of the project.
- [x] I have performed a self-review of my own code.
- [x] I have commented my code, particularly in hard-to-understand areas.
- [x] My changes generate no errors/warnings/merge conflicts.
(📃 is a shell script btw)
ah i see the issue
the issue is with the quoting, what you're doing here is completely unnecessary, just remove the quotes and then send the output to null