On Mon, Jan 25, 2010 at 8:58 PM, Tim Teulings <[email protected]> wrote:
> Hallo!
>
>>> I'm just wondering what's the best way to check is an application
>>> installed
>>> from another application?
>>
>> perhaps doing a system("dpkg -l mypackage") and checking the return
>> value is good enough?
>
> lib-apt-pkg offers programatic access to the local repository. However it
> needs some setup and my be thus a little to big" solution.

Indeed, perhaps the best solution is to simply make you package
dependent on the other package
problem solved :p

We would need better information to give a good answer(what is the
real problem he is trying to solve)

Greetings
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to