From 9a4b585a952ca7014e737e89af45ff5018a5fc8a Mon Sep 17 00:00:00 2001 From: christos Date: Thu, 24 Dec 2009 21:52:57 +0000 Subject: [PATCH] running postinstall fix should also say why fontconfig did not work, like all other postinstall methods. --- usr.sbin/postinstall/postinstall | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/postinstall/postinstall b/usr.sbin/postinstall/postinstall index d0bc35446b74..9006e40ae702 100755 --- a/usr.sbin/postinstall/postinstall +++ b/usr.sbin/postinstall/postinstall @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: postinstall,v 1.106 2009/10/13 07:47:00 apb Exp $ +# $NetBSD: postinstall,v 1.107 2009/12/24 21:52:57 christos Exp $ # # Copyright (c) 2002-2008 The NetBSD Foundation, Inc. # All rights reserved. @@ -775,7 +775,7 @@ do_fontconfig() failed=1 fi - if [ "$op" = "check" -a "$failed" = 1 ]; then + if [ "$failed" = 1 ]; then msg \ "Broken fontconfig configuration found; please delete these files" msg \