File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
root/etc/s6-overlay/s6-rc.d/init-mod-universal-internationalization-install Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -746,7 +746,11 @@ if which firefox && [ ! -f /langlock ]; then
746746 FIREFOX_VERSION=$(curl -sI https://download.mozilla.org/?product=firefox-latest | awk -F '(releases/|/win32)' '/Location/ {print $2}')
747747 RELEASE_URL="https://releases.mozilla.org/pub/firefox/releases/${FIREFOX_VERSION}/win64/xpi/"
748748 LANGS=$(curl -Ls ${RELEASE_URL} | awk -F '(xpi">|</a>)' '/href.*xpi/ {print $2}' | tr '\n' ' ')
749- EXTENSION_DIR=/usr/lib/firefox-addons/distribution/extensions/
749+ if [[ "${LSIO_BASE}" == "alpine" ]]; then
750+ EXTENSION_DIR=/usr/lib/firefox/distribution/extensions/
751+ else
752+ EXTENSION_DIR=/usr/lib/firefox-addons/distribution/extensions/
753+ fi
750754 mkdir -p ${EXTENSION_DIR}
751755 for LANG in ${LANGS}; do
752756 LANGCODE=$(echo ${LANG} | sed 's/\.xpi//g')
You can’t perform that action at this time.
0 commit comments