summaryrefslogtreecommitdiff
path: root/clean-pacman
diff options
context:
space:
mode:
Diffstat (limited to 'clean-pacman')
-rwxr-xr-xclean-pacman4
1 files changed, 2 insertions, 2 deletions
diff --git a/clean-pacman b/clean-pacman
index 6b34874..9ef4a46 100755
--- a/clean-pacman
+++ b/clean-pacman
@@ -30,11 +30,11 @@ case $cmd in
-T)
# Use sudo because $0 is run as normal user
# TODO -Sy only once
- sudo pacman -b "${BD:-/var/lib/libretools/clean}" -Sy
+ sudo pacman -b "${BD:-/var/lib/libretools/clean}" -Sy >/dev/null 2>&1
sudo pacman -b "${BD:-/var/lib/libretools/clean}" \
-Sp \
--print-format "%n" \
- ${args[@]} >>${cleanup_log}
+ ${args[@]} >>${cleanup_log} 2>/dev/null
;;
# Diff against previously installed packages and remove the unneeded ones