diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-08-11 21:18:01 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-08-11 21:18:01 +0200 |
commit | e27b8d84eecad27c1ebc6aa5edfa93d44e7fcd95 (patch) | |
tree | 7045db327ca4dcc330183f532c6db3648988be10 /install | |
parent | d7951e00f1959abd2a8cdd4c06cf3c44896c6b03 (diff) | |
download | mkinitcpio-e27b8d84eecad27c1ebc6aa5edfa93d44e7fcd95.tar.gz mkinitcpio-e27b8d84eecad27c1ebc6aa5edfa93d44e7fcd95.tar.xz |
install/consolefont: support .fnt files
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'install')
-rw-r--r-- | install/consolefont | 4 |
1 files changed, 2 insertions, 2 deletions
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 |