[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Netscape 4.73 missing wrapper.d



On Sun, Aug 06, 2000 at 06:07:00PM +0200, Gernot Bauer wrote:

> when I start netscape from an xterm, I get the following error-message:
> 
> bash-2.03$ ls: /usr/lib/netscape/473/wrapper.d: No such file or
> directory
> ls: /usr/lib/netscape/473/communicator/wrapper.d: No such file or
> directory
> 
> Did I miss to install a package? I know that wrapper.d is in
> /usr/lib/netscape/base-4. Could that be a bug of Debian/frozen?

i've reported this already, but it wasn't considered as a bug. they
are just "warnings"...

here's a patch for /usr/lib/netscape/base-4/wrapper which fixes
this...

       moritz
-- 
/* Moritz Schulte <moritz@hp9001.fh-bielefeld.de>
 * http://hp9001.fh-bielefeld.de/~moritz/
 * PGP-Key available, encrypted Mail is welcome.
 */
--- 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

Reply to: