mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
a79afefc7e
- bump PORTREVISION [1] - remove slave-port related settings Submitted by: [1] jr at opal.com
21 lines
744 B
Bash
21 lines
744 B
Bash
#!/bin/sh
|
|
if [ "$2" != "POST-INSTALL" ]; then
|
|
exit 0
|
|
fi
|
|
|
|
mkdir -p ${PKG_PREFIX}/www/cgi-bin/openwebmail/etc/addressbooks
|
|
mkdir -p ${PKG_PREFIX}/www/cgi-bin/openwebmail/etc/sessions
|
|
chmod 0770 ${PKG_PREFIX}/www/cgi-bin/openwebmail/etc/sessions
|
|
mkdir -p ${PKG_PREFIX}/www/cgi-bin/openwebmail/etc/users
|
|
chmod 0700 ${PKG_PREFIX}/www/cgi-bin/openwebmail/etc/users
|
|
chmod 4755 ${PKG_PREFIX}/www/cgi-bin/openwebmail/openwebmail*pl
|
|
|
|
for x in addressbooks/global calendar.book; do
|
|
if [ ! -s "${PKG_PREFIX}/www/cgi-bin/openwebmail/etc/${x}" ]; then
|
|
touch ${PKG_PREFIX}/www/cgi-bin/openwebmail/etc/${x}
|
|
chmod 0666 ${PKG_PREFIX}/www/cgi-bin/openwebmail/etc/${x}
|
|
fi
|
|
done
|
|
|
|
${PKG_PREFIX}/www/cgi-bin/openwebmail/openwebmail-tool.pl --init --no
|