blob: cec452f838c0f369aaa25a96fa666bf169310cf1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh
if [ "$2" != "POST-INSTALL" ]; then
exit 0
fi
PKG_PREFIX=${PKG_PREFIX:=/usr/X11R6}
XDMCONFDIR=${PKG_PREFIX}/lib/X11/xdm
XDMCONFFILES="GiveConsole TakeConsole Xaccess Xresources Xservers Xsession \
Xsetup_0 Xwilling xdm-config"
for file in $XDMCONFFILES; do
if [ ! -f ${XDMCONFDIR}/$file ]; then
cp ${XDMCONFDIR}/default/$file ${XDMCONFDIR}/$file
fi
done
|