summaryrefslogtreecommitdiff
path: root/mail/evolution/files
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-06-13 00:51:15 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-06-13 00:51:15 +0000
commita352e297cf01fe9fbd60eb27c33c801c2ca1fb9a (patch)
tree36b12de9d011dbcdb26229a336ee7792631e0611 /mail/evolution/files
parentUpdate to 0.3.0. (diff)
Fix a problem where new accounts were being created with read-only mailboxes.
Notes
Notes: svn path=/head/; revision=82904
Diffstat (limited to 'mail/evolution/files')
-rw-r--r--mail/evolution/files/pkg-install.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/mail/evolution/files/pkg-install.in b/mail/evolution/files/pkg-install.in
new file mode 100644
index 000000000000..48eb5e85099b
--- /dev/null
+++ b/mail/evolution/files/pkg-install.in
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+PATH=/bin:/usr/bin:%%LOCALBASE%%/bin:/usr/local/bin:%%X11BASE%%/bin:/usr/X11R6/bin:${PKG_PREFIX}/bin
+export PATH
+
+if [ -n "${PACKAGE_BUILDING}" ]; then
+ exit 0
+fi
+
+if [ "$2" = "POST-INSTALL" ]; then
+ VERSION=`pkg-config --modversion evolution-shell | sed -E -e 's|\.[0-9]+$||'`
+ find ${PKG_PREFIX}/share/gnome/evolution/${VERSION}/default_user -type f | xargs chmod 0644
+ exit 0
+fi