aboutsummaryrefslogtreecommitdiff
path: root/mail/elm+ME/pkg-plist
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2001-11-01 23:07:24 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2001-11-01 23:07:24 +0000
commitbc8ce6dec58dfea9326e30f5e75e65d42c7718af (patch)
tree22e98ee9ed27386a9f39bbd47651b29bb2d54a01 /mail/elm+ME/pkg-plist
parentddd4f07f6e19544b883adf0c985086215835a0fa (diff)
Notes
Diffstat (limited to 'mail/elm+ME/pkg-plist')
-rw-r--r--mail/elm+ME/pkg-plist7
1 files changed, 6 insertions, 1 deletions
diff --git a/mail/elm+ME/pkg-plist b/mail/elm+ME/pkg-plist
index 05c88e8e8b6b..0c7ae088bfc1 100644
--- a/mail/elm+ME/pkg-plist
+++ b/mail/elm+ME/pkg-plist
@@ -27,6 +27,7 @@ etc/rc.d/00elm.sh
@exec [ ! -f %B/elm.mimetypes ] && cp %B/%f %B/elm.mimetypes
%%LIB_SUBDIR%%/elmcharset
%%LIB_SUBDIR%%/elmrc-info
+%%LIB_SUBDIR%%/elmrc-write
%%LIB_SUBDIR%%/elmterminal
%%LIB_SUBDIR%%/elmunidata
%%LIB_SUBDIR%%/prlong
@@ -43,7 +44,11 @@ etc/rc.d/00elm.sh
%%PORTDOCS%%%%DOC_SUBDIR%%/Ref.fmtd.gz
%%PORTDOCS%%%%DOC_SUBDIR%%/Users.fmtd.gz
share/nls/C/elm2.4me+.cat
+@exec if [ -f %D/%%LIB_SUBDIR%%/elm.rc ]; then mv %D/%%LIB_SUBDIR%%/elm.rc %D/%%LIB_SUBDIR%%/elm.rc.orig; fi
+@exec %D/%%LIB_SUBDIR%%/elmrc-write -G -I; mv %D/%%LIB_SUBDIR%%/elm.rc %D/%%LIB_SUBDIR%%/elm.rc-dist
+@exec if [ -f %D/%%LIB_SUBDIR%%/elm.rc.orig ]; then mv %D/%%LIB_SUBDIR%%/elm.rc.orig %D/%%LIB_SUBDIR%%/elm.rc; else cp -p %D/%%LIB_SUBDIR%%/elm.rc-dist %D/%%LIB_SUBDIR%%/elm.rc; fi
+@unexec if cmp -s %D/%%LIB_SUBDIR%%/elm.rc %D/%%LIB_SUBDIR%%/elm.rc-dist; then rm -f %D/%%LIB_SUBDIR%%/elm.rc; fi; rm -f %D/%%LIB_SUBDIR%%/elm.rc-dist
@dirrm %%LIB_SUBDIR%%/elm.map.bin
-@dirrm %%LIB_SUBDIR%%
+@unexec rmdir %D/%%LIB_SUBDIR%% 2> /dev/null || :
@dirrm %%SHLIB_SUBDIR%%
%%PORTDOCS%%@dirrm %%DOC_SUBDIR%%