#!/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