[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: purge_ld_conf.pl [Was: Re: the move to stublib]



On Mon, Sep 09, 2002 at 12:23:24PM +0200, Stefano Zacchiroli wrote:
> On Mon, Sep 09, 2002 at 10:13:10AM +0200, Sven LUTHER wrote:
> > > It seems natural to remove it during 'purge', so only postrm can be
> > > used for this purpose.
> > 
> > Mmm, yes, how do i do this ?
> 
> add a ocaml-base.postrm script like this one:
> 
>   #!/bin/sh
>   set -e
> 
>   if [ "$1" = "purge" ]; then
>      if [ -f /var/lib/ocaml/ld.conf ]; then
>         rm -f /var/lib/ocaml/ld.conf
>      fi
>   fi
> 
>   #DEBHELPER#

Ok, i will do in ocaml 3.06-7, which will be released when we have
solved the other issue.

BTW, what if i dpkg --force-depends --purge ocaml-base, this will remove
the /var/lib/ocaml/ld.conf file, but the installed libraries will not
know about this ?


Friendly,
> 
> Cheers.
> 
> -- 
> Stefano Zacchiroli - undergraduate student of CS @ Univ. Bologna, Italy
> zack@cs.unibo.it | ICQ# 33538863 | http://www.cs.unibo.it/~zacchiro
> "I know you believe you understood what you think I said, but I am not
> sure you realize that what you heard is not what I meant!" -- G.Romney




Reply to: