Warning for man-pages-1.21

DAVID BALAZIC (david.balazic@uni-mb.si)
Thu, 10 Sep 1998 07:47:33 +0100 (MET)


WARNING !

The man-pages-1.21 makefile can delete your man pages ( ones that are not
part of man-pages-1.21 package ) !

The problem is the following in Makefile line 28 :
( the 'remove' entry is to remove old copies of files which will
be installed )

remove:
rm -f $(MANDIR)/man2/modules.2 $(MANDIR)/man2/modules.2.gz
rm -f $(MANDIR)/man3/exect.3 $(MANDIR)/man3/exect.3.gz
for i in man?; do for j in $$i/*; do \
^^^^^
rm -f $(MANDIR)/$$j $(MANDIR)/$$j.gz; done; done

If a certain .../man-pages-1.21/man[1-8] directory is empty ( because the user has all
newer versions and 'make screen' moved all the files to .../man-pages-1.21/not_installed/ )
then bash ( V 2.02.1 ) "extends" this pattern to "man4/*" !

The next line then gets "rm -f /usr/man/man4/* /usr/man/man4/*.gz" !!!

So all your man pages in man directories , for which the man-pages-1.21
package has no updates will be deleted !

Warn all your friends :-)

--
David Balazic , student
E-mail   : 1stein@writeme.com     |     living in  sLOVEnija
home page: http://surf.to/stein
Computer: Amiga 1200 + Quantum LPS-340AT
--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/faq.html