From 6124744d770d2924a027898c2f24e8a80f7e1012 Mon Sep 17 00:00:00 2001 From: Yuan Chiu Date: Fri, 2 May 2025 21:15:25 +0800 Subject: [PATCH] fix --- .../run_onchange_before_linux-install-packages.sh.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.chezmoiscripts/run_onchange_before_linux-install-packages.sh.tmpl b/.chezmoiscripts/run_onchange_before_linux-install-packages.sh.tmpl index 1d684b0..34f4708 100644 --- a/.chezmoiscripts/run_onchange_before_linux-install-packages.sh.tmpl +++ b/.chezmoiscripts/run_onchange_before_linux-install-packages.sh.tmpl @@ -7,7 +7,7 @@ {{/* ---- 整理待安裝清單 -------------------------------------------------- */ -}} {{- $aptInstall := .packages.linux.debian.apt -}} -{{- if ge .chezmoi.osRelease.versionID 13 -}} +{{- if or (eq .chezmoi.osRelease.versionCodename "trixie") (ge .chezmoi.osRelease.versionID 13) -}} {{- $aptInstall := concat .packages.linux.debian.apt .packages.linux.debian.apt_13 -}} {{- end -}} apt_packages=( {{ $aptInstall | quoteList | join " " }} )