diff --git a/src/servers/mail/install.sh b/src/servers/mail/install.sh index 8eb5e995f7..339cfbb2ae 100755 --- a/src/servers/mail/install.sh +++ b/src/servers/mail/install.sh @@ -18,12 +18,6 @@ else exit -1 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 [ -n "$TTY" ] then quit "application/x-vnd.Be-POST" @@ -64,6 +58,12 @@ else 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 + # 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 &