summaryrefslogtreecommitdiffstats
path: root/install/consolefont
diff options
context:
space:
mode:
Diffstat (limited to 'install/consolefont')
-rw-r--r--install/consolefont4
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