[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 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#

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

Attachment: pgpGTwO3i7JKd.pgp
Description: PGP signature


Reply to: