summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/deps.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/deps.sh b/lib/deps.sh
index 1820940..521aa2f 100644
--- a/lib/deps.sh
+++ b/lib/deps.sh
@@ -72,7 +72,9 @@ ob_parse_dep()
_obpd_pkgarchqual="${_obpd_dep%% *}"
_obpd_dep=" ${_obpd_dep#* }"
_obpd_pkg="${_obpd_pkgarchqual%:*}"
- _obpd_archqual="${_obpd_pkgarchqual##*:}"
+ if [ "${_obpd_pkg}" != "${_obpd_pkgarchqual}" ]; then
+ _obpd_archqual="${_obpd_pkgarchqual##*:}"
+ fi
if [ "${_obpd_dep# (*)}" != "${_obpd_dep}" ]; then
_obpd_relver="${_obpd_dep# (}"