*** dep-clean.orig Wed Oct 23 18:23:14 2002 --- dep-clean Wed Oct 23 18:23:00 2002 *************** *** 175,186 **** qpkg -I -nc -vv | \ grep ebuild | \ ! fgrep "`cat ${tmp}/world`" | \ cut -f5,6 -d"/" > ${tmp}/world.all cat ${tmp}/world.all | sed -e s:$:xxx: | \ ! fgrep "`find /usr/portage/ -iname '*.ebuild'|cut -f4,6 -d/ | \ ! sed -e s:\\.ebuild:xxx:`" | \ sed -e "s:^:\\\=:" -e "s:xxx::" > ${tmp}/world.new sort ${tmp}/world.new | uniq | \ --- 175,188 ---- qpkg -I -nc -vv | \ grep ebuild | \ ! fgrep -f ${tmp}/world | \ cut -f5,6 -d"/" > ${tmp}/world.all + find /usr/portage/ -iname '*.ebuild'|cut -f4,6 -d/ | \ + sed -e s:\\.ebuild:xxx: > ${tmp}/portage-ebuilds + cat ${tmp}/world.all | sed -e s:$:xxx: | \ ! fgrep -f ${tmp}/portage-ebuilds | \ sed -e "s:^:\\\=:" -e "s:xxx::" > ${tmp}/world.new sort ${tmp}/world.new | uniq | \ *************** *** 251,259 **** echo -e [ ${verb} ] && \ echo -e "${CY}These packages are installed but not in the portage tree.${NO}" cat ${tmp}/current | sed -e s:$:xxx: | \ ! fgrep -v "`find /usr/portage/ -iname '*.ebuild'|cut -f4,6 -d/ | \ ! sed -e s:\\\.ebuild:xxx:`" | \ sed -e "s:xxx:${CY}${REMO}${YL}:" > ${tmp}/world echo -ne "${YL}" cat ${tmp}/world --- 253,263 ---- echo -e [ ${verb} ] && \ echo -e "${CY}These packages are installed but not in the portage tree.${NO}" + find /usr/portage/ -iname '*.ebuild'|cut -f4,6 -d/ | \ + sed -e s:\\\.ebuild:xxx: > ${tmp}/portage-ebuilds-2 + cat ${tmp}/current | sed -e s:$:xxx: | \ ! fgrep -v -f ${tmp}/portage-ebuilds-2 | \ sed -e "s:xxx:${CY}${REMO}${YL}:" > ${tmp}/world echo -ne "${YL}" cat ${tmp}/world