wrapFirefoxAddonsHook: remove legacy toplevel-is-XPI code path

This commit is contained in:
2025-04-27 03:43:03 +00:00
parent 6693333a84
commit 3dfde24a84

View File

@@ -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