[arch-projects] [mkinitcpio] [PATCH 6/6] install/consolefont: Use error() instead of echo

Kurt J. Bosch kjb-temp-2009 at alpenjodel.de
Sat Jul 23 07:21:06 EDT 2011


Make the error message more prominent by using error() to add the 'ERROR' prefix and also use colored and bold text where possible.
---
 install/consolefont |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/install/consolefont b/install/consolefont
index b11bf0d..7ed1978 100644
--- a/install/consolefont
+++ b/install/consolefont
@@ -16,7 +16,7 @@ build() {
         add_file "${CONSOLEFONT_FILE}" /consolefont.$e
         return
     done
-    echo "consolefont: Font file does not exist or does not end with .psf.gz or .psfu.gz."
+    error "consolefont: Font file does not exist or does not end with .psf.gz or .psfu.gz."
 }
 
 help () {
-- 
1.7.1



More information about the arch-projects mailing list