]> gitweb @ CieloNegro.org - sugar.git/commitdiff
Auto commit by The Sugar System.
authorPHO <pho@cielonegro.org>
Sun, 7 Dec 2008 14:12:34 +0000 (23:12 +0900)
committerPHO <pho@cielonegro.org>
Sun, 7 Dec 2008 14:12:34 +0000 (23:12 +0900)
dot-files/_xinitrc

index 292ac239083244674d737cbaf36648d3dabe0cd3..90192b6bce9fb29873d825d9737319d193246a03 100644 (file)
@@ -1,5 +1,4 @@
 #!/bin/sh
-# $Id: xinitrc,v 1.2 2003/02/27 19:03:30 jharper Exp $
 
 userresources=$HOME/.Xresources
 usermodmap=$HOME/.Xmodmap
@@ -7,9 +6,10 @@ sysresources=/etc/X11/xinit/.Xresources
 sysmodmap=/etc/X11/xinit/.Xmodmap
 
 # merge in defaults and keymaps
-
-xset fp+ /usr/local/lib/X11/fonts/Unicode
-xset fp rehash
+if [ -d "/usr/local/lib/X11/fonts/Unicode" ]; then
+    xset fp+ /usr/local/lib/X11/fonts/Unicode
+    xset fp rehash
+fi
 
 if [ -f $sysresources ]; then
     xrdb -merge $sysresources