From 66b91385f9dc7c769dcc503c57b543d1739eef42 Mon Sep 17 00:00:00 2001 From: Brian Zalewski <59970525+ProfessorManhattan@users.noreply.github.com> Date: Sat, 18 May 2024 04:48:50 +0000 Subject: [PATCH] Latest --- .../bin/post-installx/executable_post-cloudflared.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/home/dot_local/bin/post-installx/executable_post-cloudflared.sh b/home/dot_local/bin/post-installx/executable_post-cloudflared.sh index 89f7ac0c..cd848a5e 100644 --- a/home/dot_local/bin/post-installx/executable_post-cloudflared.sh +++ b/home/dot_local/bin/post-installx/executable_post-cloudflared.sh @@ -45,7 +45,9 @@ if command -v cloudflared > /dev/null; then logg info 'Symlinking /usr/local/etc/cloudflared to /etc/cloudflared' sudo ln -s /usr/local/etc/cloudflared /etc/cloudflared else - logg warn '/etc/cloudflared is present but files are being modified in /usr/local/etc/cloudflared' + if [ -L /etc/cloudflared ]; then + logg info '/etc/cloudflared is present (and not symlinked) but files are being modified in /usr/local/etc/cloudflared' + fi fi ### Configure DNS