[4441] in testers

home help back first fref pref prev next nref lref last post

Re: 8.4.3 (8.4.2 for Linux) patch release out

daemon@ATHENA.MIT.EDU (Jacob Morzinski)
Fri Jun 9 03:58:37 2000

To: Greg Hudson <ghudson@MIT.EDU>
Cc: testers@MIT.EDU
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Jacob Morzinski <jmorzins@MIT.EDU>
Date: 09 Jun 2000 03:58:30 -0400
In-Reply-To: Greg Hudson's message of Thu, 8 Jun 2000 19:21:20 -0400 (EDT)
Message-ID: <w6m1z27guah.fsf@well.mit.edu>

<ghudson@MIT.EDU> (Greg Hudson) writes:
> 	* Machines should copy netscape local nightly, and use the
> 	  local copy when /usr/athena/bin/netscape is run.


I like this idea a lot.

But when my SGI updated itself, I found a few parts that didn't
work the way I expected.  (I've enclosed a patch for the script
/etc/athena/local-netscape.)


Oddities:

 I don't have a /usr/athena/bin/htmlview, but it may be a
 good idea to give me one.  I have a /usr/athena/bin/netscape.sh
 instead of "netscape" (note the suffix).


 When /etc/athena/local-netscape prepares to synctree the
 infoagents locker to local disk, the script has a few typos.
 One is a complaint about "cat"ing a file that doesn't exist:

   Cannot open /mit/infoagents/.syncversion: No such file or directory
   /etc/athena/local-netscape[37]: test: argument expected

 The other is that the .rconf file doesn't pull in the
 arch/share/bin directory of infoagents.  I've made a guess
 as to what the .rconf file wanted to do, and included it in
 this patch:



--- /etc/athena/local-netscape	Thu Jun  8 16:00:47 2000
+++ /tmp/local-netscape	Fri Jun  9 03:42:01 2000
@@ -34,9 +34,10 @@
 fi
 
 version=1
-if [ -r "$locker/.syncversion" -a \
-     `cat "$locker/.syncversion` -gt $version ]; then
-  exit
+if [ -r "$locker/.syncversion" ]; then
+  if [`cat "$locker/.syncversion"` -gt $version ]; then
+    exit
+  fi
 fi
 
 # Write out the rconf file.
@@ -54,9 +55,9 @@
 copy share/app-defaults/* -f
 copy arch -f
 copy arch/share -f
-chase arch/share/netscape
-copy arch/share/netscape -f
-copy arch/share/netscape/* -f
+chase arch/share/bin
+copy arch/share/bin -f
+copy arch/share/bin/* -f
 chase $arch
 copy $arch -f
 copy $arch/* -f

home help back first fref pref prev next nref lref last post