Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 34421 | Differences between
and this patch

Collapse All | Expand All

(-)qpkg.orig (-8 / +2 lines)
Lines 314-323 Link Here
314
314
315
	# installed packages
315
	# installed packages
316
	if [ ! "${uninst}" ]; then
316
	if [ ! "${uninst}" ]; then
317
		ipak=`find /var/db/pkg/ -iname "*.ebuild" 2>/dev/null`
317
		ipak=`find /var/db/pkg/${group} -iname "*.ebuild" 2>/dev/null`
318
		if [[ ${group} != "*" ]]; then
319
		    ipak=`echo ${ipak}|sed -e "s: :\n:g"|grep ${group}`
320
		fi
321
		if [ ${arg} ]; then
318
		if [ ${arg} ]; then
322
			# avoid ${arg}="db" from pulling in every installed package
319
			# avoid ${arg}="db" from pulling in every installed package
323
			temp="/var/db/pkg/.*${arg}"	
320
			temp="/var/db/pkg/.*${arg}"	
Lines 329-338 Link Here
329
	fi
326
	fi
330
	# not installed packages (yet:-)
327
	# not installed packages (yet:-)
331
	if [ ! "${inst}" ]; then
328
	if [ ! "${inst}" ]; then
332
		upak=`find /usr/portage/ -iname "*.ebuild" 2>/dev/null|grep -v --regex="/usr/portage/[^/]*\.ebuild"`
329
		upak=`find /usr/portage/${group} -iname "*.ebuild" 2>/dev/null|grep -v --regex="/usr/portage/[^/]*\.ebuild"`
333
		if [[ ${group} != "*" ]]; then
334
		    upak=`echo ${upak}|sed -e "s: :\n:g"|grep ${group}`
335
		fi
336
		if [ ${arg} ]; then
330
		if [ ${arg} ]; then
337
		    upak=`echo ${upak}|sed -e "s: :\n:g"|grep -i ${arg}`
331
		    upak=`echo ${upak}|sed -e "s: :\n:g"|grep -i ${arg}`
338
		fi
332
		fi

Return to bug 34421