diff .chezmoiscripts/run_onchange_after_17-install-mercurial.sh.tmpl @ 1093:9732db099471 draft

feat: enable dotfiles on aarch64/Fedora
author "Zeger Van de Vannet <zeger@vandevan.net>"
date Sun, 18 May 2025 16:28:58 +0200
parents 6fb43864241b
children f87adcb9f473 4befa7ae4e90
line wrap: on
line diff
--- a/.chezmoiscripts/run_onchange_after_17-install-mercurial.sh.tmpl	Thu May 08 21:56:41 2025 +0200
+++ b/.chezmoiscripts/run_onchange_after_17-install-mercurial.sh.tmpl	Sun May 18 16:28:58 2025 +0200
@@ -1,7 +1,7 @@
 {{ $version := "7.0.2" -}}
-{{ if (and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease.name "Ubuntu")) -}}
+{{ if (and (eq .chezmoi.os "linux") (or (eq .chezmoi.osRelease.name "Ubuntu") (eq .chezmoi.osRelease.name "Fedora Linux Asahi Remix" ))) -}}
 #!/usr/bin/env -S ${HOME}/bin/mise exec [email protected] [email protected] -- bash
-{{ else }}
+{{ else -}}
 #!/usr/bin/env bash
 {{ end }}