linux hints file and xset bugfix (trunk only)

Add a hints file for an ubuntu tty build and skip xset if no fonts.dir
file exists (this test will probably need another tweak, but I need a
linux x11 build first to test it).
This commit is contained in:
keni
2007-12-16 02:18:22 +00:00
parent eb422e65c7
commit bd0d01b73d
2 changed files with 27 additions and 1 deletions

View File

@@ -16,7 +16,7 @@ esac
export XUSERFILESEARCHPATH
# Get font dir added, but only once (and only if there's an xset to be found).
xset p >/dev/null 2>&1 && (
test -e $HACKDIR/fonts.dir && xset p >/dev/null 2>&1 && (
xset fp- $HACKDIR >/dev/null 2>&1;
xset fp+ $HACKDIR
)