On 7/17/06, Antonio Gomes <[EMAIL PROTECTED]> wrote:
So, I have packed these X dependencies mentioned above (libXt, libICE and libSM) into my .deb file , and they install fine if *and only if* they have not been installed before by another application or whatever. In the case when they are already installed my .deb installation hangs when it tries to replace them with the following message:
[snip]
I'd like to be able to verify if they are already available in the system before trying to install them , how could I do ? preinst ?
They should be separate libraries which your control file says your package depends on (using the `Depends' line). Then, when they're all put into a repository (with the libraries having a `Section' of something like `lib'), the user only sees the Minimo application. Installing Minimo will then also pull in any dependencies the user hasn't already got. HTH, Andrew -- Andrew Flegg -- mailto:[EMAIL PROTECTED] | http://www.bleb.org/ _______________________________________________ maemo-developers mailing list [email protected] https://maemo.org/mailman/listinfo/maemo-developers
