From d1ef2336e2282248cd421cc2fb9858c8169d5aa7 Mon Sep 17 00:00:00 2001 From: Yuan Chiu Date: Fri, 2 May 2025 21:17:49 +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 34f4708..0d55ede 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 or (eq .chezmoi.osRelease.versionCodename "trixie") (ge .chezmoi.osRelease.versionID 13) -}} +{{- if eq .chezmoi.osRelease.versionCodename "trixie" -}} {{- $aptInstall := concat .packages.linux.debian.apt .packages.linux.debian.apt_13 -}} {{- end -}} apt_packages=( {{ $aptInstall | quoteList | join " " }} )