summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xis_built4
1 files changed, 1 insertions, 3 deletions
diff --git a/is_built b/is_built
index c01ad53..99b871b 100755
--- a/is_built
+++ b/is_built
@@ -15,11 +15,9 @@ while getopts 'h' arg; do
esac
done
-set -x
-
ver=${2}
pkg=${1}
-pver=$(LC_ALL=C pacman -Sp --print-format "%v" "${pkg}" 2>/dev/null)
+pver=$(LC_ALL=C pacman -Spdd --print-format "%v" "${pkg}" 2>/dev/null)
# if pacman fails or returns nothing
r=$?