Re: installation / uninstallation
"Isak Savo" <[email protected]>
| Newsgroups | gmane.comp.autopackage.devel |
|---|---|
| Message-ID | <[email protected]> |
2007/9/26, Hylke Donker <[email protected]>: > Hi, > I would like to know whether some protocol-commands are install or uninstall > specific. > For example, is IDENTIFY specific for installation and UNINSTALLING for > uninstallation? Yes, it appears so.. > And what about FAIL? Is that command specific for installation(because there > is an uninstall-fail command)? FAIL is a general purpose failure which will cause the frontend to display whatever message that was passed as argument to the FAIL call. I cannot think of any existing example where it is used though (it's NOT the same as FAILTEST, which is the result of a dependency check that failed). GTKFe for instance, does the exact same thing on FAIL as it does on UNINSTALL-FAIL (except in the latter, it also clears the uninstall animation). Typically, the FAIL message will be followed by a TERMINATE request. -Isak PS. To get hints on what to do on each message, the following two sources are useful: 1. The protocol documentation http://trac.autopackage.org/browser/main/trunk/doc/PROTOCOL 2. GTKFe's processing of commands: http://trac.autopackage.org/browser/frontend/trunk/gtkfe/frontend/processor.c#L922 --------------------------------------------------------------------- To unsubscribe, e-mail: autopackage-dev-unsubscribe-OfajU3CKLf1/[email protected] For additional commands, e-mail: autopackage-dev-help-OfajU3CKLf1/[email protected]