fix arch minimal
This commit is contained in:
@@ -27,7 +27,7 @@ say_bold() { printf "\n"; printf "%b%s%b\n" "$BOLD" "$*" "$RESET"; }
|
||||
##########################
|
||||
# Use exported variables from main detection script
|
||||
##########################
|
||||
OS="${DETECTED_OS:-debian}"
|
||||
OS="${DETECTED_OS:-arch}"
|
||||
DDE="${DETECTED_DE}"
|
||||
DE="${SELECTED_DE:-none}"
|
||||
TWM="${SELECTED_TWM:-none}"
|
||||
@@ -54,7 +54,7 @@ FONT_DIR="$HOME/.local/share/fonts"
|
||||
FONT_NAME="RobotoMonoNerdFont" # Changed name to reflect the installed files
|
||||
FONT_ZIP="/tmp/RobotoMono.zip" # Use original ZIP name for download
|
||||
DOWNLOAD_NAME="RobotoMono"
|
||||
if ! find "$FONT_DIR" -name "${FONT_NAME}*.ttf" -print -quit 2>/dev/null; then
|
||||
if ! compgen -G "$FONT_DIR/${FONT_NAME}*.ttf" > /dev/null; then
|
||||
say_yellow "Installing ${DOWNLOAD_NAME} Nerd Font..."
|
||||
mkdir -p "$FONT_DIR"
|
||||
curl -L "https://github.com/ryanoasis/nerd-fonts/releases/latest/download/${DOWNLOAD_NAME}.zip" -o "$FONT_ZIP"
|
||||
|
||||
Reference in New Issue
Block a user