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 }}/.