diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2020-12-05 20:42:38 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2020-12-05 20:42:38 -0300 |
commit | 87bfedf023968d831735b4450932c055ec46e1a3 (patch) | |
tree | c6f5d54eddb0090e4117bfad133a1ee86c3f0a73 /share | |
parent | d6773a8dd41ee3b95c93105a45be920acbbda78e (diff) | |
download | trashman-87bfedf023968d831735b4450932c055ec46e1a3.tar.gz trashman-87bfedf023968d831735b4450932c055ec46e1a3.tar.bz2 |
Fix: trashman_apt_check should be silent
Diffstat (limited to 'share')
-rw-r--r-- | share/trashman/trashman/debian | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/trashman/trashman/debian b/share/trashman/trashman/debian index 1175bba..c6d5fa2 100644 --- a/share/trashman/trashman/debian +++ b/share/trashman/trashman/debian @@ -23,7 +23,7 @@ trashman_apt_check() { #dpkg -s $1 > /dev/null 2>&1 # See https://stackoverflow.com/questions/1298066/check-if-a-package-is-installed-and-then-install-it-if-its-not#1298103 - dpkg-query -W -f='${Status}' $1 | grep -q '^install ok' + dpkg-query -W -f='${Status}' $1 > /dev/null 2>&1 | grep -q '^install ok' return $? } |