From fa07cbc87a1ef98355979aea13b066dbe76c8a16 Mon Sep 17 00:00:00 2001 From: genone Date: Fri, 6 Feb 2004 22:37:58 +0000 Subject: deprecation notice for qpkg+etcat, small fix for equery with amigious package svn path=/; revision=78 --- trunk/src/qpkg/qpkg | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'trunk/src/qpkg') diff --git a/trunk/src/qpkg/qpkg b/trunk/src/qpkg/qpkg index f7bd7bc..78aadc0 100644 --- a/trunk/src/qpkg/qpkg +++ b/trunk/src/qpkg/qpkg @@ -164,6 +164,10 @@ find packages owning files on your filesystem, check the integrity of installed packages, and do other queries against installed or uninstalled packages. +NOTICE: This tool will be phased out at some point in the + future, please use equery instead. + Bugs are still fixed but new features won't be added. + ${BR}Usage: ${T}${CY}${PROG}${NO} [${BR}options${NO}] [${YL}pkgname${NO}] [${BL}-g${YL} group${NO}] [${BL}-f${YL} ${NO}|${BL}-fp${YL} ${NO}] ${T}${CY}${PROG}${NO} ${BL}--dups${NO} [${BL}--slot${NO}] @@ -373,8 +377,11 @@ for p in ${ipak} ${upak} -;do fi if [ "${info}" ]; then - home=`grep HOMEPAGE ${p}| cut -d\" -f2` - desc=`grep DESCRIPTION ${p}| cut -d\" -f2` + source ${p} 2> /dev/null + home="${HOMEPAGE}" + desc="${DESCRIPTION}" + #home=`grep HOMEPAGE ${p}| cut -d\" -f2` + #desc=`grep DESCRIPTION ${p}|cut -d= -f2-|cat` echo -e "${T}${BL}${desc}${NO} [ ${YL}${home}${NO} ]" if [ ${verb} -gt 0 ]; then pdir=${p/$(basename ${p})/} -- cgit v1.2.3