Fixed some problems with installation, updated docs.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9673 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Nathan Whitehorn 2004-10-31 01:41:51 +00:00
parent da434e3af1
commit f26833fccb
2 changed files with 24 additions and 1 deletions

View File

@ -133,7 +133,9 @@ Note that if you have a large number of archived e-mail messages on your system,
HISTORY: HISTORY:
September 29 2004 - v3.0.0 October 30 2004 - v3.0.0
- Fixed all known bugs
- Removed timeout crash in IMAP
- Added POP3-SSL support - Added POP3-SSL support
- Fixed code so IMAP could compile if OpenSSL not used. - Fixed code so IMAP could compile if OpenSSL not used.
- Integrated into Haiku source tree - Integrated into Haiku source tree

View File

@ -18,6 +18,12 @@ else
exit -1 exit -1
fi fi
#Sometimes the OpenSSL installer is dumb and doesn't create the requisite symlinks
if test ! -e ~/config/lib/libssl.so && test -e ~/config/lib/libssl.so.0.9.7; then
ln -s ~/config/lib/libssl.so.0.9.7 ~/config/lib/libssl.so
ln -s ~/config/lib/libcrypto.so.0.9.7 ~/config/lib/libcrypto.so
fi
if [[ `uname -m` == BePC ]] && test ! -e ~/config/lib/libssl.so; then if [[ `uname -m` == BePC ]] && test ! -e ~/config/lib/libssl.so; then
RETURN=`alert "You don't seem to have OpenSSL installed, which the mail daemon requires." "Get OpenSSL" "I Don't Care"` RETURN=`alert "You don't seem to have OpenSSL installed, which the mail daemon requires." "Get OpenSSL" "I Don't Care"`
@ -42,6 +48,16 @@ else
quit "application/x-vnd.Be-POST" quit "application/x-vnd.Be-POST"
quit "application/x-vnd.Be-TSKB" quit "application/x-vnd.Be-TSKB"
unzip -od / install.zip unzip -od / install.zip
# Reset the relevant parts of the MIME database
setmime -remove application/x-vnd.Be-POST; mimeset /system/servers/mail_daemon
setmime -remove application/x-vnd.Be-MAIL; mimeset /boot/beos/apps/BeMail
mimeset ~/config/bin/AGMSBayesianSpamServer
setmime -set text/x-email -preferredApp /boot/beos/apps/BeMail -preferredAppSig application/x-vnd.Be-MAIL
setmime -set text/x-vnd.be-maildraft -preferredApp /boot/beos/apps/BeMail -preferredAppSig application/x-vnd.Be-MAIL
setmime -set text/x-partial-email -preferredApp /boot/beos/system/servers/mail_daemon -preferredAppSig application/x-vnd.Be-POST
#Restart the deskbar
/boot/beos/system/Deskbar > /dev/null & /boot/beos/system/Deskbar > /dev/null &
alert "Finished installing" "Thanks" alert "Finished installing" "Thanks"
else else
@ -54,3 +70,8 @@ else
$terminal -t "installer" /bin/sh "$0" $terminal -t "installer" /bin/sh "$0"
fi fi
fi fi
# Launch prefs if this is a new install of MDR
if test ! -e "/boot/home/config/settings/Mail/chains"; then
/boot/beos/preferences/E-mail &
fi