fix
This commit is contained in:
parent
29139fb776
commit
fbcf47e6ac
@ -33,16 +33,20 @@ casks = [
|
|||||||
# Debain 12 (bookworm) 沒有ueberzugpp,但是有ueberzug
|
# Debain 12 (bookworm) 沒有ueberzugpp,但是有ueberzug
|
||||||
# Debain 12 (bookworm) neovim版本太舊 0.7,lazy無法用,故在shell腳本特殊處理
|
# Debain 12 (bookworm) neovim版本太舊 0.7,lazy無法用,故在shell腳本特殊處理
|
||||||
[packages.linux.debian]
|
[packages.linux.debian]
|
||||||
|
apt_12 = [
|
||||||
|
'exa',
|
||||||
|
]
|
||||||
|
|
||||||
apt = [
|
apt = [
|
||||||
'sudo',
|
'sudo',
|
||||||
'zsh',
|
'zsh',
|
||||||
'vim',
|
'vim',
|
||||||
'git',
|
'git',
|
||||||
'exa',
|
|
||||||
'gcc',
|
'gcc',
|
||||||
]
|
]
|
||||||
|
|
||||||
apt_13 = [
|
apt_13 = [
|
||||||
|
'eza',
|
||||||
'neovim',
|
'neovim',
|
||||||
'lazygit',
|
'lazygit',
|
||||||
]
|
]
|
||||||
|
@ -9,6 +9,8 @@
|
|||||||
{{- $aptInstall := .packages.linux.debian.apt -}}
|
{{- $aptInstall := .packages.linux.debian.apt -}}
|
||||||
{{- if eq .chezmoi.osRelease.versionCodename "trixie" -}}
|
{{- if eq .chezmoi.osRelease.versionCodename "trixie" -}}
|
||||||
{{- $aptInstall := concat .packages.linux.debian.apt .packages.linux.debian.apt_13 -}}
|
{{- $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) }}
|
||||||
|
{{- $aptInstall := concat .packages.linux.debian.apt .packages.linux.debian.apt_12 -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
apt_packages=( {{ $aptInstall | quoteList | join " " }} )
|
apt_packages=( {{ $aptInstall | quoteList | join " " }} )
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user