diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2004-08-30 19:55:42 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2004-08-30 19:55:42 +0000 |
commit | b4c31bafd8aec4f42f23f6c461f48ccbe33d3bc3 (patch) | |
tree | d80952c00b17a9ff93ed05d9a2a267b16fe30b8b /x11/kdebase3/files/genkdmconf.sh | |
parent | 852f5b2516d438cff64d11ee56c369232b605ab3 (diff) | |
download | ports-b4c31bafd8aec4f42f23f6c461f48ccbe33d3bc3.tar.gz ports-b4c31bafd8aec4f42f23f6c461f48ccbe33d3bc3.zip |
Notes
Diffstat (limited to 'x11/kdebase3/files/genkdmconf.sh')
-rw-r--r-- | x11/kdebase3/files/genkdmconf.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/x11/kdebase3/files/genkdmconf.sh b/x11/kdebase3/files/genkdmconf.sh new file mode 100644 index 000000000000..479317482140 --- /dev/null +++ b/x11/kdebase3/files/genkdmconf.sh @@ -0,0 +1,17 @@ +#!/bin/sh +# +# $FreeBSD$ + +# some defs +GENKDMCONF=%%PREFIX%%/bin/genkdmconf +KDMCONFDIR=%%PREFIX%%/share/config/kdm + +#first, set a path for an X app +PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin +export PATH + +#Configure kdm if needed +if [ ! -r ${KDMCONFDIR}/kdmrc ]; then + echo "Generating KDM configuration"; + ${GENKDMCONF} --no-old --in ${KDMCONFDIR}; +fi |