Mail Archives: djgpp/1996/11/20/02:20:21
On Tue, 19 Nov 1996, Alaric B. Williams wrote:
> > rm -rvf @manifest/fil313b.mft
>
> >This will delete all the files which come with fil313b.zip. Neat, eh?
>
> Beware! libhw, for example, overwrites djgpp.lnk / djgpp.djl - so if
> you do this, you lose that file and have to reinstall it from the
> original distribution!
How else will you suggest to uninstall a package which overwrites DJGPP
files? Won't you delete those files and reinstall them from the original
distribution? I think that deleting them will alert people that they
need to reinstall the missing file, which is much better than leaving the
altered files lurking and waiting to bite you later.
Anyway, the *really* dangerous part in what I wrote is the -r switch. If
a manifest file includes a directory name (like e.g. gnu/ or even, God
forbid, bin/), it will zap that entire directory without asking! So make
that command say this instead:
rm -vf @manifest/fil313b.mft
(I hope nobody has yet tried to apply my advice verbatim...)
- Raw text -