From 6f471ea3abd74d007e23409a7cab4740c8842323 Mon Sep 17 00:00:00 2001 From: Ryan Reed Date: Fri, 7 Jul 2023 23:45:25 -0400 Subject: [PATCH] Adding profile_name check for running arkenfox updater.sh --- .chezmoiscripts/run_after_update-arkenfox-profile.sh.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.chezmoiscripts/run_after_update-arkenfox-profile.sh.tmpl b/.chezmoiscripts/run_after_update-arkenfox-profile.sh.tmpl index e51b111..fff2951 100644 --- a/.chezmoiscripts/run_after_update-arkenfox-profile.sh.tmpl +++ b/.chezmoiscripts/run_after_update-arkenfox-profile.sh.tmpl @@ -1,4 +1,4 @@ -{{ if (and (eq .chezmoi.os "linux") (hasKey . "firefox")) -}} +{{ if (and (eq .chezmoi.os "linux") (hasKey . "firefox") (hasKey .firefox "profile_name")) -}} #!/usr/bin/env bash rsync -a {{ .chezmoi.homeDir }}/.mozilla/firefox/personal-profile.default/* {{ .chezmoi.homeDir }}/.mozilla/firefox/{{ .firefox.profile_name }}/.