From cfbe5419629c38fce8d7b83fa09af22881a151f8 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 09 Sep 2012 17:19:38 -0400 Subject: Only set arch qual if it exists in dependency. --- (limited to 'lib') 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# (}" -- cgit v0.9.1