Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 43217
Collapse All | Expand All

(-)qpkg (-2 / +3 lines)
Lines 227-234 Link Here
227
	exit
227
	exit
228
fi
228
fi
229
229
230
#For the --dups switch only
231
if [ "${dups}" ]; then
232
if [ "${grepmask}" ]; then
230
if [ "${grepmask}" ]; then
233
	mask=`python -c 'import portage; print portage.settings["ACCEPT_KEYWORDS"];' 2> /dev/null`
231
	mask=`python -c 'import portage; print portage.settings["ACCEPT_KEYWORDS"];' 2> /dev/null`
234
	echo -e "Currently accepted keywords: ${BL}${mask}${NO}"
232
	echo -e "Currently accepted keywords: ${BL}${mask}${NO}"
Lines 236-241 Link Here
236
	mask=`echo ${mask} | perl -pe 's/\s+/|/'`
234
	mask=`echo ${mask} | perl -pe 's/\s+/|/'`
237
fi
235
fi
238
236
237
#For the --dups switch only
238
if [ "${dups}" ]; then
239
239
	#First dig out the list of packages with duplicates
240
	#First dig out the list of packages with duplicates
240
	find /var/db/pkg/ -iname "*${arg}*.ebuild" 2> /dev/null > /tmp/qpkg.lst
241
	find /var/db/pkg/ -iname "*${arg}*.ebuild" 2> /dev/null > /tmp/qpkg.lst
241
	dups=`cat /tmp/qpkg.lst | cut -f7 -d/ |
242
	dups=`cat /tmp/qpkg.lst | cut -f7 -d/ |

Return to bug 43217