All pastes #36940 Raw Edit

Stuff

public text v1 · immutable
#36940 ·published 2006-01-16 03:30 UTC
rendered paste body
# You generally would want to use this like:
# use !alsa && java_remove-libjoundalsa /opt/${P}
java_remove-libjoundalsa() {
	[[ ${#} -ne 1 ]] && die "Expected one argument"
	local search_path="$@"
	local libs=$(find ${D}/${start_path} -name libjsoundalsa.so)
	if [[ -n ${libs} ]]; then
		rm ${libs} || die "Failed to delete ${libs}"
	fi
}