2004-01-03 12:26:54 +01:00
|
|
|
#!/bin/sh
|
|
|
|
if [ "$2" != "POST-INSTALL" ]; then
|
|
|
|
exit 0
|
|
|
|
fi
|
|
|
|
|
2005-05-12 10:47:44 +02:00
|
|
|
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
|
2005-05-12 10:47:44 +02:00
|
|
|
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
|
2005-05-12 10:47:44 +02:00
|
|
|
${PKG_PREFIX}/www/cgi-bin/openwebmail/openwebmail-tool.pl --init --no
|