Re: strange warning when starting netscape
Matthim@t-online.de (Matthias Müller) writes:
> when I start netscape. I got the warning
> 'ls: /usr/lib/netscape/473/navigator/wrapper.d: No such file or directory'
It's not something to worry about. The wrapper.d script just doesn't
check, wether the dir exists, before doing an ls.
Yes, this is fixed in 4.75, but this version has some annoying
problems. Hey, but it's a security update, it fixes the bug, that it
was possible to let netscape act as a server.
If you don't want to upgrade, here's a patch:
--- wrapper.orig Tue Jul 11 00:40:30 2000
+++ wrapper Tue Jul 11 00:45:42 2000
@@ -274,9 +274,11 @@
/usr/lib/netscape/base-4/wrapper.d \
/usr/lib/netscape/$VER/wrapper.d \
/usr/lib/netscape/$VER/$BIN/wrapper.d ;do
- for f in $(ls -1 $d | sort); do
- . $d/$f
- done
+ if [ -d "$d" ]; then
+ for f in $(ls -1 $d | sort); do
+ . $d/$f
+ done
+ fi
done
export MALLOC_CHECK_ NPX_PLUGIN_PATH NPX_NETHELP_PATH display MOZILLA_HOME CLASSPATH
moritz
--
/* Moritz Schulte <moritz@hp9001.fh-bielefeld.de>
* http://hp9001.fh-bielefeld.de/~moritz/
* PGP-Key available, encrypted Mail is welcome.
*/
Reply to: