freebsd-ports/mail/openwebmail/pkg-install

12 lines
433 B
Text
Raw Normal View History

2004-01-03 12:26:54 +01:00
#!/bin/sh
if [ "$2" != "POST-INSTALL" ]; then
exit 0
fi
mkdir -p ${PKG_PREFIX}/www/cgi-bin/openwebmail/etc/sessions
2004-01-03 12:26:54 +01:00
chmod 0770 ${PKG_PREFIX}/www/cgi-bin/openwebmail/etc/sessions
mkdir -p ${PKG_PREFIX}/www/cgi-bin/openwebmail/etc/users
2004-01-03 12:26:54 +01:00
chmod 0700 ${PKG_PREFIX}/www/cgi-bin/openwebmail/etc/users
chmod 4755 ${PKG_PREFIX}/www/cgi-bin/openwebmail/openwebmail*pl
${PKG_PREFIX}/www/cgi-bin/openwebmail/openwebmail-tool.pl --init --no