View | Details | Raw Unified
Collapse All | Expand All

(-) revdep-rebuild (-1 / +8 lines)
 Lines 203-209    Link Here 
		esac
		esac
		shift
		shift
	done
	done
	# Check if various utils are allowed and installed
	if [[ $avoid_utils != *portage-utils* ]] && hash q 2> /dev/null; then
	if [[ $avoid_utils != *portage-utils* ]] && hash q 2> /dev/null; then
		PORTAGE_UTILS=1
		PORTAGE_UTILS=1
	elif [[ $avoid_utils != *pkgcore* ]] && hash pquery 2> /dev/null; then
	elif [[ $avoid_utils != *pkgcore* ]] && hash pquery 2> /dev/null; then
 Lines 211-216    Link Here 
	elif [[ $avoid_utils != *equery* ]] && hash equery 2> /dev/null; then
	elif [[ $avoid_utils != *equery* ]] && hash equery 2> /dev/null; then
		EQUERY=1
		EQUERY=1
	fi
	fi
	# Check if various utils are allowed and installed
	# Don't use equery until portage 2.1.3 is stable
	# Portage 2.1.2 doesn't write all errors to stderr and this
	# causes equery output to be potentially hosed
	EQUERY=0
	EMERGE_OPTIONS=(${EMERGE_OPTIONS[@]/%-p/--pretend})
	EMERGE_OPTIONS=(${EMERGE_OPTIONS[@]/%-p/--pretend})
	EMERGE_OPTIONS=(${EMERGE_OPTIONS[@]/%-f/--fetchonly})
	EMERGE_OPTIONS=(${EMERGE_OPTIONS[@]/%-f/--fetchonly})
	if [[ ${EMERGE_OPTIONS[@]} != *--pretend* && $UID -ne 0 ]]; then
	if [[ ${EMERGE_OPTIONS[@]} != *--pretend* && $UID -ne 0 ]]; then
 Lines 518-523    Link Here 
	else
	else
		set_trap "$LIST.4_packages*"
		set_trap "$LIST.4_packages*"
		rm -f $LIST.4*
		rm -f $LIST.4*
		set -x
		while read obj FILE; do
		while read obj FILE; do
			if [[ $PORTAGE_UTILS ]]; then
			if [[ $PORTAGE_UTILS ]]; then
				EXACT_PKG=$(qfile -qvC $FILE)
				EXACT_PKG=$(qfile -qvC $FILE)
 Lines 546-551    Link Here 
			fi
			fi
		done < "$LIST.3_rebuild"
		done < "$LIST.3_rebuild"
		einfo "Generated new $LIST.4_packages_raw and $LIST.4_package_owners"
		einfo "Generated new $LIST.4_packages_raw and $LIST.4_package_owners"
		set +x
	fi
	fi
}
}
clean_packages() {
clean_packages() {
 Lines 643-648    Link Here 
		fi
		fi
	fi
	fi
	[[ -rs $LIST.5_order ]] && einfo "Generated new $LIST.5_order"
	[[ -rs $LIST.5_order ]] && einfo "Generated new $LIST.5_order"
	set +x
}
}
get_search_env
get_search_env