summaryrefslogtreecommitdiff
path: root/x11/gdm/INSTALL
blob: d12a11cf15f42b42be4495a53bb22195722a7fd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
#
# $NetBSD: INSTALL,v 1.1 2001/10/31 22:10:43 zuntum Exp $

if [ "$2" = POST-INSTALL ]
then
	cd @@GDMCFGDIR@@
	for SOURCE in @@GDMCFGFILES@@
	do
		TARGET=${SOURCE%.default*}${SOURCE##*.default}
		if [ ! -f $TARGET ]
		then
			@@MKDIR@@ `dirname $TARGET`
			@@CP@@ -p $SOURCE $TARGET
		fi
	done
	@@LN@@ -fs Gnome Sessions/Default
fi

exit 0