aboutsummaryrefslogtreecommitdiffstats
path: root/games/qix/pkg-install
blob: 0e668af85c9b530c29879e60e6ef1d076c902e51 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

if [ "$2" != POST-INSTALL ] ; then
    exit 0
fi

X11BASE=/usr/X11R6
FONTDIR=$X11BASE/lib/X11/fonts/local

mkdir -p $X11BASE/share/qix
chown bin:games $X11BASE/share/qix
chmod g+w $X11BASE/share/qix

cat >> $FONTDIR/fonts.alias <<EOF
qix18   -qix-terminal-medium-r-normal--18-180-75-75-c-110-iso8859-1
qix14   -qix-terminal-medium-r-normal--14-140-75-75-c-80-iso8859-1
EOF

$X11BASE/bin/mkfontdir $FONTDIR

exit 0