[PATCH] Propagate exit codes of scripts to setup

Brian Dessent brian@dessent.net
Thu Sep 1 16:42:00 GMT 2005

Igor Pechtchanski wrote:

> As promised, here's a patch that makes Script::run() (and
> try_run_script()) return the exit code of the script.  This just sets up
> the infrastructure -- the exit code is currently ignored (well, logged),
> but that could be changed later in both Installer::preremoveOne(),
> packagemeta::uninstall(), and do_postinstall_thread().

Thanks, applied.  Although, I agree with Eric Blake's point that
postremove scripts are probably not a great idea, they're not documented
anywhere (that I know of), and the last package that used it has
switched to a preremove.  Therefore I killed the postremove support


More information about the Cygwin-apps mailing list