ceos-alpine-installer/lib/basic/05_fonts.sh
John A. Hoeven e4ab10ef56 Apply ceos_install_todo.md fixes
- df -kP: POSIX mode prevents LVM line-wrap false WARNs (all tier scripts)
- 11_wiki: glow from @testing on x86_64; CE repo path kept for ARM
- 12_access: ly from @testing on x86_64+aarch64; MANUAL stub for armhf;
  post-install: rc-update add ly default + comment tty2 getty in inittab
- 05_fonts: nerd-fonts-all from v3.23 stable community (no @edge tag)
- ce-common: add ohiod_address()

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-12 01:32:07 +02:00

32 lines
1.3 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 — v3.23 stable community; no tag needed
install_pkg "nerd-fonts-all"
}
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