summaryrefslogtreecommitdiffstats
path: root/install/consolefont
diff options
context:
space:
mode:
Diffstat (limited to 'install/consolefont')
-rw-r--r--install/consolefont6
1 files changed, 1 insertions, 5 deletions
diff --git a/install/consolefont b/install/consolefont
index cefbc45..8127502 100644
--- a/install/consolefont
+++ b/install/consolefont
@@ -1,8 +1,6 @@
#!/bin/bash
build() {
- local file ext
-
# subshell to avoid namespace pollution
(
for cfg in /etc/{rc,vconsole}.conf; do
@@ -29,9 +27,7 @@ build() {
warning "consolefont: no font found in configuration"
exit 1
fi
- )
-
- (( $? == 0 )) && SCRIPT=consolefont
+ ) && add_runscript
}
help() {