From e27b8d84eecad27c1ebc6aa5edfa93d44e7fcd95 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sat, 11 Aug 2012 15:18:01 -0400 Subject: install/consolefont: support .fnt files Signed-off-by: Dave Reisner --- install/consolefont | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'install') diff --git a/install/consolefont b/install/consolefont index 8127502..0bb1af6 100644 --- a/install/consolefont +++ b/install/consolefont @@ -10,9 +10,9 @@ build() { [[ $FONT ]] && CONSOLEFONT=$FONT if [[ $CONSOLEFONT ]]; then - for file in "/usr/share/kbd/consolefonts/$CONSOLEFONT".psf?(u)?(.gz); do + for file in "/usr/share/kbd/consolefonts/$CONSOLEFONT".@(fnt|psf?(u))?(.gz); do if [[ -e $file ]]; then - [[ $file =~ \.(psfu?)(\.gz)?$ ]] && ext=${BASH_REMATCH[1]} + [[ $file =~ (\.(fnt|psfu?))(\.gz)?$ ]] && ext=${BASH_REMATCH[2]} if [[ $file = *.gz ]]; then gzip -cd "$file" > "$BUILDROOT/consolefont.$ext" else -- cgit v1.2.3-24-g4f1b