This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: removal script ordering [attn: lilypond maintainer]
On Sat, 2 Jul 2005, Brian Dessent wrote:
> Igor Pechtchanski wrote:
>
> > > Does setup.exe honor postremove scripts, or should
> > > /etc/postremove/postremove-lilypond.sh be changed to a preremove
> > > script?
> >
> > It probably should, as the current setup source doesn't contain the
> > string "postremove" at all. :-)
>
> Actually the code is still there, at the end of
> packagemeta::uninstall().
Heh. So it is. I wonder what I did to not get it in my grep...
It still doesn't make sense to me, though -- what would you want to do
after removing the package files that you couldn't do before removing
them?
Also, postremove scripts should not be shell scripts -- only batch files.
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT