- bootstrap: install bash before fetch (ash-only base installs)
- bootstrap/deploy: correct URL (drop /repo prefix, webroot is /srv/repo)
- 01_core: remove bash (bootstrap now handles it)
- ce-base/minimal/basic: BusyBox-compatible df check (drop --output=avail)
- ce-common: add ensure_testing_repo + install_pkg_testing
- 12_access: espeakup + espeakup-openrc from edge/testing
- 05_fonts: nerd-fonts → nerd-fonts-all (meta-package blocks by design)
- 06_utils: tealdeer + bash-completion from edge/testing
- 07_journal: jrnl test checks ~/.local/bin/jrnl (pipx not in PATH during install)
- 11_wiki: arch-aware CE_REPO (${ARCH} replaces hardcoded amd64); Forgejo TODO updated
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
40 lines
1.7 KiB
Bash
40 lines
1.7 KiB
Bash
#!/usr/bin/env bash
|
|
# Created by John A. Hoeven with the ethical assistance of Claude AI
|
|
# ---------------------------------------------------------------------------
|
|
# 05_fonts.sh
|
|
# ~/projects/ceos/alpine-installer/lib/basic/05_fonts.sh
|
|
# Version: v0.0.1 | Status: DEVELOPMENT
|
|
# Target: Alpine Linux x86-64 (tinkerpad / ThinkPad T480)
|
|
# ---------------------------------------------------------------------------
|
|
# Basic Tier subscript: fonts and display — figlet, nerd-fonts (@edge).
|
|
# nerd-fonts package name confirmed via pkgs.alpinelinux.org (edge/community).
|
|
# Installs with @edge tag; gracefully skips on failure.
|
|
# Defines install_basic_fonts().
|
|
# ---------------------------------------------------------------------------
|
|
|
|
install_basic_fonts() {
|
|
log_info "--- basic/05_fonts: fonts and display ---"
|
|
|
|
install_pkg "figlet"
|
|
run_test "figlet present" 'command -v figlet >/dev/null 2>&1' warn
|
|
|
|
# nerd-fonts-all — edge/community; 'nerd-fonts' meta-package blocks install by design
|
|
ensure_edge_repo
|
|
|
|
log_info "Installing nerd-fonts-all from @edge/community..."
|
|
if install_pkg_edge "nerd-fonts-all"; then
|
|
log_info "nerd-fonts-all installed"
|
|
else
|
|
log_warn "nerd-fonts-all@edge not available — skipping gracefully"
|
|
MANUAL_PKGS+=("nerd-fonts: edge install failed — check pkgs.alpinelinux.org/packages?name=nerd-fonts-all&branch=edge")
|
|
fi
|
|
}
|
|
|
|
if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
|
|
SCRIPT_NAME="basic_05_fonts"
|
|
source "${SCRIPT_DIR}/lib/ce-common.sh" || { echo "ERROR: ce-common.sh not found"; exit 1; }
|
|
check_not_root
|
|
install_basic_fonts
|
|
print_summary
|
|
fi
|