[Lunar-commits] <moonbase> xorg-server: fix build

Zbigniew Luszpinski zbiggy at lunar-linux.org
Fri Dec 23 17:21:13 CET 2011


commit fbc6aca4392efbfed2f3d52d8503ee05fa22cf7c
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Fri Dec 23 17:21:13 2011 +0100

    xorg-server: fix build
---
 xorg7/xorg-server/BUILD |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/xorg7/xorg-server/BUILD b/xorg7/xorg-server/BUILD
index 7c473ec..ab801a6 100644
--- a/xorg7/xorg-server/BUILD
+++ b/xorg7/xorg-server/BUILD
@@ -20,7 +20,7 @@
   # Fixes warning: "The directory "/usr/share/fonts/X11/OTF/" does not exist." in Xorg log.
   # This path looks to be hardcoded in Xorg server so let's create empty dir to workaround it.
   mkdir -p /usr/share/fonts/X11/OTF &&
-  if [ -x `which mkfontdir` ]; then
+  if [ module_installed mkfontdir ]; then
     mkfontdir /usr/share/fonts/X11/OTF
   fi
 


More information about the Lunar-commits mailing list