Mail Archives: djgpp/1998/01/26/21:55:39
At 08:56 1/26/1998 -0800, Anshuman Pandey wrote:
>
>Hello,
>
>I am wondering whether there exists a remove utility for DJGPP which would
>allow a user to uninstall certain packages of the DJGPP systems without
>manual procedures.
Not per se, but each package when you unzipped it created a manifest file in
the `manifest' directory of your DJGPP tree, containing the names of all the
files from that package. If you have the fileutils, you can uninstall quite
easily. For instance, to delete the `lgp272b.zip' package:
c:\djgpp> rm @manifest/lgp272b.mft
!!BEWARE!! Some packages contain duplicates or different versions of each
other's files. For instance, the GPC package used to (still does?) contain a
new DJGPP.ENV. Deleting that, which this procedure would do, would lead to
unpleasantries.
>
>Such a remove utility exists for the emTeX package. This utility makes use
>of files, usually one for each package, which contains a list of the file
>and pathnames which comprise the package. Invoking 'remove' with the name
>of the package as an option accesses the file and removes the applicable
>files.
Then this procedure is very similar.
>
>If there is no such utility for DJGPP, then how does one suggest to the
>DJGPP team that such a program ought to be made?
Exactly like you're doing, since they all read this newsgroup. :)
It should be very simple, just a program that reads each line from the file
and deletes that name. Caution will have to be used though, since the file
itself is usually one of them, and deleting a file you are reading from is
usually bad. :)
Nate Eldredge
eldredge AT ap DOT net
- Raw text -