doesn't make sure that packages.html is writable (PR#2131)
Wed, 9 Oct 2002 20:13:54 +0200 (MET DST)

Full_Name: Andreas Voegele
Version: 1.6.0
OS: GNU/Linux
Submission from: (NULL) (

Here's a minor problem: copies packages-head.html to ~/.R/doc/html/packages.html.
Afterwards the script tries to add more html code to the copy.
But if packages-head.html is not writable the copy won't be writable and
as a consequence the script cannot add its html code.

The following patch ensures that packages.html is writable:

diff -u -r R-1.6.0.orig/share/sh/ R-1.6.0/share/sh/
--- R-1.6.0.orig/share/sh/ 2002-07-30 18:42:56.000000000 +0200
+++ R-1.6.0/share/sh/      2002-10-09 19:10:45.000000000 +0200
@@ -42,6 +42,7 @@
 rm -f ${PKGLIST}
 cp ${R_HOME}/doc/html/packages-head.html ${PKGLIST}
+chmod u+w ${PKGLIST}

 get_unique () {
   if test -r ${1}; then

r-devel mailing list -- Read
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: