From b317663d826ca6f35a046c10475ca055972c156f Mon Sep 17 00:00:00 2001 From: Brian Zalewski <59970525+ProfessorManhattan@users.noreply.github.com> Date: Tue, 8 Aug 2023 15:08:21 -0400 Subject: [PATCH] Fix cloudflare script --- .../universal/run_onchange_after_97-cloudflare.sh.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/.chezmoiscripts/universal/run_onchange_after_97-cloudflare.sh.tmpl b/home/.chezmoiscripts/universal/run_onchange_after_97-cloudflare.sh.tmpl index 71d4bdea..48d70a1d 100644 --- a/home/.chezmoiscripts/universal/run_onchange_after_97-cloudflare.sh.tmpl +++ b/home/.chezmoiscripts/universal/run_onchange_after_97-cloudflare.sh.tmpl @@ -240,7 +240,7 @@ echo "{{ joinPath .chezmoi.sourceDir ".chezmoitemplates" "cloudflared" .host.hos echo "{{ stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "cloudflared" .host.hostname) }}" {{- if and (stat (joinPath .host.home ".config" "age" "chezmoi.txt")) (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "cloudflared" .host.hostname)) -}} echo "IN HEREEE" -{{- $registrationToken := (includeTemplate (print "cloudflared/" .host.hostname) | decrypt) -}} +{{- $registrationToken = (includeTemplate (print "cloudflared/" .host.hostname) | decrypt) -}} {{- end }} ### Set up CloudFlare tunnels echo 'Registration token debug:'