summaryrefslogtreecommitdiffstats
path: root/x11/kdebase4/pkg-plist
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2001-12-14 06:13:10 +0000
committerpetef <petef@FreeBSD.org>2001-12-14 06:13:10 +0000
commit16f70dca00850e9d670daf1233c6c84936cfd47e (patch)
tree919072bec8a1ad1bcb5e4392031479fe99d2640b /x11/kdebase4/pkg-plist
parent154f535b3f0f305ac79cc62979f4ce60aa1e890a (diff)
downloadFreeBSD-ports-16f70dca00850e9d670daf1233c6c84936cfd47e.zip
FreeBSD-ports-16f70dca00850e9d670daf1233c6c84936cfd47e.tar.gz
- better kdmrc config file handling:
* install kdmrc.dist and copy to kdmrc if it doesn't already exist. don't clobber user's custom kdmrc settings. * always install the scripts, even if the config directory exists * always generate the scripts (add --no-old) - remove rcsid from patch so it applies cleanly - bump PORTREVISION PR: 32537, 32660 Submitted by: Alan Eldridge <alane@geeksrus.net>
Diffstat (limited to 'x11/kdebase4/pkg-plist')
-rw-r--r--x11/kdebase4/pkg-plist4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11/kdebase4/pkg-plist b/x11/kdebase4/pkg-plist
index 3b9d785..9e32ca5 100644
--- a/x11/kdebase4/pkg-plist
+++ b/x11/kdebase4/pkg-plist
@@ -1286,7 +1286,9 @@ share/config/kdm/Xsession
share/config/kdm/Xsetup
share/config/kdm/Xstartup
share/config/kdm/Xwilling
-share/config/kdm/kdmrc
+@unexec if test ! -f %D/share/config/kdm/kdmrc || cmp -s %D/share/config/kdm/kdmrc.dist %D/share/config/kdm/kdmrc; then rm -f %D/share/config/kdm/kdmrc; fi
+share/config/kdm/kdmrc.dist
+@exec if test ! -f %D/share/config/kdm/kdmrc; then rm -f %D/share/config/kdm/kdmrc; cp -p %D/share/config/kdm/kdmrc.dist %D/share/config/kdm/kdmrc; fi
share/config/klipperrc
share/config/konqsidebartng.rc
share/config/konsolerc
OpenPOWER on IntegriCloud