diff options
Diffstat (limited to 'x11/kdebase4/files/kdm.in')
-rw-r--r-- | x11/kdebase4/files/kdm.in | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/x11/kdebase4/files/kdm.in b/x11/kdebase4/files/kdm.in new file mode 100644 index 000000000000..06181ce3bbeb --- /dev/null +++ b/x11/kdebase4/files/kdm.in @@ -0,0 +1,20 @@ +#!/bin/sh +# +# $FreeBSD$ + +# some defs +GENKDMCONF=%%PREFIX%%/bin/genkdmconf +KDMCONFDIR=%%PREFIX%%/share/config/kdm + +#Configure kdm if needed +if [ ! -r ${KDMCONFDIR}/kdmrc ]; then + echo "Generating KDM configuration"; + ${GENKDMCONF} --no-old --in ${KDMCONFDIR}; +else + echo "Updating KDM configuration"; + ${GENKDMCONF} --in ${KDMCONFDIR}; + +fi + +#run kdm +exec "%%PREFIX%%/bin/kdm-bin" "$@" |