[bugfix] rm compliant about argument too long
This commit is contained in:
parent
6e6714aed8
commit
67cee9064e
|
@ -24,7 +24,7 @@ lspkgs() {
|
||||||
|
|
||||||
uninstall() {
|
uninstall() {
|
||||||
if [ -f "$FILES_PATH" ]; then
|
if [ -f "$FILES_PATH" ]; then
|
||||||
tac "$FILES_PATH" | grep -v '/$' | xargs sudo rm -f
|
tac "$FILES_PATH" | grep -v '/$' | xargs -n 10 -- sudo rm -f
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user