diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-09-22 04:42:40 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-09-22 04:42:40 -0300 |
commit | 8f76df557d92ef978743097a9e88a15ffdee1b38 (patch) | |
tree | d18aa67087b9bd9e4cacc2d57ff1d4f9368a3951 /clean-pacman | |
parent | bdc72cb35e90e0d2e795a928de658c9d71b0feac (diff) |
Bogus output was captured
Diffstat (limited to 'clean-pacman')
-rwxr-xr-x | clean-pacman | 4 |
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 |