summaryrefslogtreecommitdiffstats
path: root/x11-wm/fvwm2/pkg-plist
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2001-06-17 10:46:32 +0000
committerolgeni <olgeni@FreeBSD.org>2001-06-17 10:46:32 +0000
commit14599998f5c454524954246147e44e1ad888ac3e (patch)
tree9bbd5ac3bdcca63003e606963ad5113b000dd241 /x11-wm/fvwm2/pkg-plist
parente4e930460d409b56d03f4895e74ab9bf81dd7857 (diff)
downloadFreeBSD-ports-14599998f5c454524954246147e44e1ad888ac3e.zip
FreeBSD-ports-14599998f5c454524954246147e44e1ad888ac3e.tar.gz
Add proper management of etc/system.fvwm2rc (preserve changes at deinstall
time).
Diffstat (limited to 'x11-wm/fvwm2/pkg-plist')
-rw-r--r--x11-wm/fvwm2/pkg-plist4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11-wm/fvwm2/pkg-plist b/x11-wm/fvwm2/pkg-plist
index 4d668eb..dcf1731 100644
--- a/x11-wm/fvwm2/pkg-plist
+++ b/x11-wm/fvwm2/pkg-plist
@@ -1,7 +1,9 @@
bin/FvwmCommand
bin/fvwm2
bin/xpmroot
-etc/system.fvwm2rc
+@unexec if cmp -s %D/etc/system.fvwm2rc %D/etc/system.fvwm2rc.dist; then rm -f %D/etc/system.fvwm2rc; fi
+etc/system.fvwm2rc.dist
+@exec [ -f %B/system.fvwm2rc ] || cp %B/%f %B/system.fvwm2rc
lib/X11/fvwm2/pixmaps/Jlock.xpm
lib/X11/fvwm2/pixmaps/Jnews.xpm
lib/X11/fvwm2/pixmaps/Jrecycle.xpm
OpenPOWER on IntegriCloud