diff options
author | Joshua Ismael Haase Hernandez <hahj87@gmail.com> | 2011-03-25 07:27:02 -0700 |
---|---|---|
committer | Joshua Ismael Haase Hernandez <hahj87@gmail.com> | 2011-03-25 07:27:02 -0700 |
commit | eeb80c2576bfe94b4905e11357e17775754773d0 (patch) | |
tree | 441b73bdcd6ba9019a5afb4b89e21138db908e3b /is_built | |
parent | 691baba22e7fb1fe47005558ca92e540566fe383 (diff) |
is_built is so small it's better this way
Diffstat (limited to 'is_built')
-rwxr-xr-x | is_built | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ #!/bin/bash # Detect is a package is installed or in a database -stdnull "pacman -Qqi $1" || \ -stdnull "pacman -Sqi $1" +pacman -Qqi $1 >/dev/null 2>&1 || \ +pacman -Sqi $1 >/dev/null 2>&1 exit $? |