[maemo-developers] Check is app installed from another app
From: Kees Jongenburger kees.jongenburger at gmail.comDate: Tue Jan 26 14:54:39 EET 2010
- Previous message: Check is app installed from another app
- Next message: Problems compiling HelloWorld for gtk+
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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) Greetings
- Previous message: Check is app installed from another app
- Next message: Problems compiling HelloWorld for gtk+
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]