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

Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +3 lines)
Line  Link Here
0
-- mozextension.eclass
0
++ tmp/111
Lines 48-54 Link Here
48
	x="${1}"
48
	x="${1}"
49
	cd ${x}
49
	cd ${x}
50
	# determine id for extension
50
	# determine id for extension
51
	emid=$(sed -n -e '/<\?em:id>\?/!d; s/.*\([\"{].*[}\"]\).*/\1/; s/\"//g; p; q' ${x}/install.rdf) || die "failed to determine extension id"
51
	emid="$(sed -n -e '/install-manifest/,$ { /em:id/!d; s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${x}"/install.rdf)" \
52
		|| die "failed to determine extension id"
52
	insinto "${MOZILLA_FIVE_HOME}"/extensions/${emid}
53
	insinto "${MOZILLA_FIVE_HOME}"/extensions/${emid}
53
	doins -r "${x}"/* || die "failed to copy extension"
54
	doins -r "${x}"/* || die "failed to copy extension"
54
}
55
}

Return to bug 301920