diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-01-23 11:43:32 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-01-23 11:43:32 -0300 |
commit | 96697c7de79d18524eb168dd6d4d7cad412b0719 (patch) | |
tree | a232b78dbc9f3deddcea54f21342f9e7f02aca24 | |
parent | 0f72189f9a62af346592ce54a55810f973d8d7ed (diff) |
Use -dd to avoid having dependencies versions too
-rwxr-xr-x | is_built | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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=$? |