From 5f6e78f8781c89fa1134f842a147aedb7ccf7a08 Mon Sep 17 00:00:00 2001 From: Yuan Chiu Date: Sat, 3 May 2025 00:21:20 +0800 Subject: [PATCH] =?UTF-8?q?fix=20linux-install-packages.sh.tmpl:=2012?= =?UTF-8?q?=E8=97=A5=E5=8C=85=E8=B5=B7=E4=BE=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../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 6d159f0..9159d50 100644 --- a/.chezmoiscripts/run_onchange_before_linux-install-packages.sh.tmpl +++ b/.chezmoiscripts/run_onchange_before_linux-install-packages.sh.tmpl @@ -9,7 +9,7 @@ {{- $aptInstall := .packages.linux.debian.apt -}} {{- if eq .chezmoi.osRelease.versionCodename "trixie" -}} {{- $aptInstall = concat .packages.linux.debian.apt .packages.linux.debian.apt_13 -}} -{{ else if and (eq .chezmoi.osRelease.id "debian") (hasKey .chezmoi.osRelease "versionID") (le .chezmoi.osRelease.versionID 12) }} +{{ else if and (eq .chezmoi.osRelease.id "debian") (hasKey .chezmoi.osRelease "versionID") (le .chezmoi.osRelease.versionID "12") }} {{- $aptInstall = concat .packages.linux.debian.apt .packages.linux.debian.apt_12 -}} {{- end -}} apt_packages=( {{ $aptInstall | quoteList | join " " }} )