From 484242471c9eb601850ac429277b11fdcab1c6e3 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Mon, 30 Jan 2023 08:19:32 +0000 Subject: [PATCH] Update file run_onchange_after_40-firefox.tmpl --- .../universal/run_onchange_after_40-firefox.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/.chezmoiscripts/universal/run_onchange_after_40-firefox.tmpl b/home/.chezmoiscripts/universal/run_onchange_after_40-firefox.tmpl index 98c455c2..a6b6e459 100644 --- a/home/.chezmoiscripts/universal/run_onchange_after_40-firefox.tmpl +++ b/home/.chezmoiscripts/universal/run_onchange_after_40-firefox.tmpl @@ -90,7 +90,7 @@ for SETTINGS_DIR in "$HOME/snap/firefox/common/.mozilla/firefox" "$HOME/.var/app fi ### Install Firefox addons (using list declared in .chezmoidata.yaml) - for FIREFOX_PLUGIN in "bitwarden-password-manager"; do + for FIREFOX_PLUGIN in {{ list (.firefoxAddOns | toString | replace "[" "" | replace "]" "") | uniq | 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"