aboutsummaryrefslogtreecommitdiff
path: root/x11/kde4-runtime/files/pkg-install.in
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kde4-runtime/files/pkg-install.in')
-rw-r--r--x11/kde4-runtime/files/pkg-install.in21
1 files changed, 21 insertions, 0 deletions
diff --git a/x11/kde4-runtime/files/pkg-install.in b/x11/kde4-runtime/files/pkg-install.in
new file mode 100644
index 000000000000..fee72a16fe3c
--- /dev/null
+++ b/x11/kde4-runtime/files/pkg-install.in
@@ -0,0 +1,21 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+if [ "$2" != "POST-INSTALL" ]; then
+ exit 0
+fi
+
+boguscreatenewentry=%%PREFIX%%/share/templates/.keep_me
+kdmrcscript=%%PREFIX%%/etc/rc.d/genkdmconf.sh
+
+if [ -f $kdmrcscript ]; then
+ sh -c "$kdmrcscript"
+fi
+
+if [ -f $boguscreatenewentry ]; then
+ rm -f $boguscreatenewentry
+fi
+
+exit 0