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 2a90d65..1fa79d2 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 -Sdp --print-format "%v" "${pkg}" 2>/dev/null)
+pver=$(LC_ALL=C pacman -Sddp --print-format "%v" "${pkg}" 2>/dev/null)
# if pacman fails or returns nothing
r=$?