Update file run_onchange_after_40-firefox.tmpl

This commit is contained in:
Brian Zalewski 2023-01-14 10:57:26 +00:00
parent 0d69a3cd2e
commit d2c2cfd52b

View file

@ -35,7 +35,7 @@ fi
### Install Firefox addons (using list declared in .chezmoidata.yaml)
if command -v org.mozilla.firefox > /dev/null; then
for FIREFOX_PLUGIN in "{{ list .firefoxAddOns | join '" "' }}"; do
for FIREFOX_PLUGIN in {{ list .firefoxAddOns | join " " }}; do
logg info 'Ensuring `'"$FIREFOX_PLUGIN"'` is installed'
PLUGIN_HTML="$(mktemp)"
curl --silent "https://addons.mozilla.org/en-US/firefox/addon/$FIREFOX_PLUGIN/" > "$PLUGIN_HTML"