wrapFirefoxAddonsHook: remove legacy toplevel-is-XPI code path
This commit is contained in:
@@ -50,16 +50,10 @@ fixupFirefoxAddon() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fixupFirefoxAddons() {
|
fixupFirefoxAddons() {
|
||||||
if [ -f "$out" ]; then
|
# crawl the output for .xpi files to fixup
|
||||||
# the output is a single firefox extension (legacy)
|
for xpi in $(@find@ "$out" -name '*.xpi'); do
|
||||||
# TODO: remove this code path
|
fixupFirefoxAddon "$xpi"
|
||||||
fixupFirefoxAddon "$out"
|
done
|
||||||
else
|
|
||||||
# crawl the output for .xpi files to fixup
|
|
||||||
for xpi in $(@find@ "$out" -name '*.xpi'); do
|
|
||||||
fixupFirefoxAddon "$xpi"
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ -z "${dontFixupFirefoxAddons-}" ]; then
|
if [ -z "${dontFixupFirefoxAddons-}" ]; then
|
||||||
|
Reference in New Issue
Block a user