add 新增支援 Ubuntu 24.04
This commit is contained in:
parent
a9c82b6db7
commit
bf4205ddef
@ -27,7 +27,22 @@ casks = [
|
|||||||
# 'macvim',
|
# 'macvim',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# Ubuntu -----------------------------------------------------------------------
|
||||||
|
# Ubuntu 24.04.2 LTS 測試過
|
||||||
|
# TODO: lazygit尚未處理
|
||||||
|
[packages.linux.ubuntu]
|
||||||
|
apt = [
|
||||||
|
'sudo',
|
||||||
|
'zsh',
|
||||||
|
'vim',
|
||||||
|
'git',
|
||||||
|
'gcc',
|
||||||
|
'eza',
|
||||||
|
'neovim',
|
||||||
|
]
|
||||||
|
|
||||||
# Debian -----------------------------------------------------------------------
|
# Debian -----------------------------------------------------------------------
|
||||||
|
# Debian 12, Debian 13 測試過
|
||||||
# 特別備註:
|
# 特別備註:
|
||||||
# Debain 12 (bookworm) 沒有eza,但是有exa
|
# Debain 12 (bookworm) 沒有eza,但是有exa
|
||||||
# Debain 12 (bookworm) 沒有ueberzugpp,但是有ueberzug
|
# Debain 12 (bookworm) 沒有ueberzugpp,但是有ueberzug
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
{{/* ==== Debian ======================================================== */ -}}
|
{{/* ==== Debian ======================================================== */ -}}
|
||||||
{{ if eq .chezmoi.osRelease.id "debian" -}}
|
{{ if or (eq .chezmoi.osRelease.id "debian") (eq .chezmoi.osRelease.id "ubuntu") -}}
|
||||||
|
|
||||||
{{/* ---- 整理待安裝清單 -------------------------------------------------- */ -}}
|
{{/* ---- 整理待安裝清單 -------------------------------------------------- */ -}}
|
||||||
{{- $aptInstall := .packages.linux.debian.apt -}}
|
{{- $aptInstall := .packages.linux.debian.apt -}}
|
||||||
@ -12,6 +12,11 @@
|
|||||||
{{ 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 -}}
|
{{- $aptInstall = concat .packages.linux.debian.apt .packages.linux.debian.apt_12 -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
{{ if eq .chezmoi.osRelease.id "ubuntu" -}}
|
||||||
|
{{- $aptInstall = .packages.linux.ubuntu.apt -}}
|
||||||
|
{{ end -}}
|
||||||
|
|
||||||
apt_packages=( {{ $aptInstall | quoteList | join " " }} )
|
apt_packages=( {{ $aptInstall | quoteList | join " " }} )
|
||||||
|
|
||||||
to_install_apt=()
|
to_install_apt=()
|
||||||
|
@ -20,6 +20,7 @@ Yuan dotfile 自用環境設定檔
|
|||||||
* macOS 15 Sequoia -主要桌面電腦工作開發用 -2025/5/2 測試過
|
* macOS 15 Sequoia -主要桌面電腦工作開發用 -2025/5/2 測試過
|
||||||
* Manjaro Linux -主要桌面電腦工作開發用 -2025/5/2 測試過
|
* Manjaro Linux -主要桌面電腦工作開發用 -2025/5/2 測試過
|
||||||
* Debian (無GUI) -伺服器主機與Container執行環境用 -2025/5/2 測試過
|
* Debian (無GUI) -伺服器主機與Container執行環境用 -2025/5/2 測試過
|
||||||
|
* Ubuntu 24.04.2 LTS (無GUI) -雲端主機執行環境用 -2025/5/4 測試過
|
||||||
* Manjaro Linux (無GUI) - 2025/5/2 測試過
|
* Manjaro Linux (無GUI) - 2025/5/2 測試過
|
||||||
* Arch Linux (無GUI) -2025/5/2 測試過
|
* Arch Linux (無GUI) -2025/5/2 測試過
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user