Openoffice DNS Delay

Hello!

I was working with Openoffice and I seemed to be missing some fonts I wanted. So this short blog will maybe help you.

I was trying to install msttcorefonts and I kept getting the following type of errors.

Resolving umn.dl.sourceforge.net… failed: Connection timed out.
–14:13:43– http://switch.dl.sourceforge.net/sourceforge/corefonts/arialb32.exe
=> `./arialb32.exe’

After much searching I finally found the script that was failing. The script is at /usr/sbin/update-ms-fonts

The problem that I have is that my DNS always seems to take forever. So increased the DNS timeout for the wget function call on line 131 to 30 seconds.

I hope this helps someone out!

-Kim