[maemo-developers] Check is app installed from another app

From: Kees Jongenburger kees.jongenburger at gmail.com
Date: Tue Jan 26 14:54:39 EET 2010
On Mon, Jan 25, 2010 at 8:58 PM, Tim Teulings <rael at edge.ping.de> 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)

More information about the maemo-developers mailing list