From a352e297cf01fe9fbd60eb27c33c801c2ca1fb9a Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Fri, 13 Jun 2003 00:51:15 +0000 Subject: Fix a problem where new accounts were being created with read-only mailboxes. --- mail/evolution/files/pkg-install.in | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 mail/evolution/files/pkg-install.in (limited to 'mail/evolution/files') 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 -- cgit v1.2.3