This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
criteria for running preremove scripts?
- From: ericblake at comcast dot net (Eric Blake)
- To: cygwin-apps at cygwin dot com
- Date: Thu, 07 Jul 2005 17:40:18 +0000
- Subject: criteria for running preremove scripts?
To try and test the new /etc/preremove/~~bash.sh bundled with
bash-3.0-7, I reran setup and selected reinstall on bash. But looking
in /var/log/setup.log.full, the script was removed without ever
running, and looking in /etc/preremove, ~~bash.sh.done was never
created. Does the preremove logic in setup.exe depend on the script
having the same name as the package that is being removed? If so,
then ~~bash.sh will never be run, it would have to be named
bash.sh. But changing the name would be problematic because the
preremove script attempts to remove /bin/sh, which would invalidate
all subsequent preremove scripts. This needs to be one of the things
looked at before the next setup.exe is released.
--
Eric Blake