[opam-devel] Switch's var/cache/pkg cleanup

Louis Gesbert louis.gesbert at ocamlpro.com
Wed Sep 28 03:15:01 BST 2016


If you do, that will be removed on every upgrade of `odig`, which may or not 
be what you want.

I wondered at some point if distinguishing temporary removal (for upgrade) 
from definitive removal in the metadata would be needed, but the question is 
still open. I know `apt-get` has `remove` and `purge` for this.

On mardi 27 septembre 2016 20:49:52 CEST Daniel Bünzli wrote:
> Hello,
> 
> The odig project [1] stores the files it generates in $(opam config var
> prefix)/var/cache/odig. An `opam remove odig` will not cleanup that
> directory, should I do it in the `remove:` section of odig's OPAM file ?
> 
> Best,
> 
> Daniel
> 
> [1] http://erratique.ch/software/odig
> 
> 
> _______________________________________________
> opam-devel mailing list
> opam-devel at lists.ocaml.org
> http://lists.ocaml.org/listinfo/opam-devel



More information about the opam-devel mailing list