From 73c29428db862de1c013e5d54ee404e44ed77d65 Mon Sep 17 00:00:00 2001 From: genone Date: Fri, 23 Jan 2004 04:17:47 +0000 Subject: [PATCH] added patch for profile dependencies (see bug 35885) svn path=/; revision=70 --- trunk/src/qpkg/qpkg | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/trunk/src/qpkg/qpkg b/trunk/src/qpkg/qpkg index fafb62e..31b2e7f 100644 --- a/trunk/src/qpkg/qpkg +++ b/trunk/src/qpkg/qpkg @@ -410,7 +410,7 @@ for p in ${ipak} ${upak} -;do for flag in $(< ${deppkg}/USE) do if [[ "${flag:0:1}" == "-" ]]; then - rdepend=$(echo ${rdepend} | sed "s/${flag:1}? ( [[:alnum:][:punct:]]* )//") + rdepend="$(echo ${rdepend} | sed 's/${flag:1}? ( [[:alnum:][:punct:]]* )//')" fi done @@ -421,9 +421,9 @@ for p in ${ipak} ${upak} -;do else grep -R "${package}" /var/db/pkg/*/*/RDEPEND | \ cut -f5,6 -d"/" | sed -e "s:^:\t${color}:;s:$:${NO}:" | sort -u - if [[ $(grep -R "*${package}" /etc/make.profile/packages) != "" ]]; then - echo -e "\t${color}SYSTEM PROFILE${NO}" - fi + fi + if [[ $(grep -R "*${package}" /etc/make.profile/packages) != "" ]]; then + echo -e "\t${color}SYSTEM PROFILE${NO}" fi fi -- 2.26.2