|
Checking for installed package-alternative in a wrapper-skript: msg#00144linux.debian.devel.mentors
Hello, Is there some canonical fast way to check in a script whether inn, inn2 or cnews is installed on the system? I need to know it in newsx's wrapper skript to set the correct options. Until now I've used if [ -e /usr/share/doc/inn/copyright ] ... which works well, but breaks policy 13.3. I would have liked to check for existence of /var/lib/dpkg/info/$package.list, but this'll still be there if the package is deinstalled but not purged. I'd rather not check for some files in the package like /usr/lib/news/input/newsrun vs. /usr/sbin/ctlinnd because they tend to be moved around, and calling dpkg'd be slow. thanks, cu andreas PS: Please Cc me on replies. -- Hey, da ist ein Ballonautomat auf der Toilette! vim:ls=2:stl=***\ Sing\ a\ song.\ ***
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Looking for sponsor - aseqview: 00144, Stefan Schwandter |
|---|---|
| Next by Date: | Re: Checking for installed package-alternative in a wrapper-skript: 00144, Bastian Kleineidam |
| Previous by Thread: | Looking for sponsor - aseqviewi: 00144, Stefan Schwandter |
| Next by Thread: | Re: Checking for installed package-alternative in a wrapper-skript: 00144, Bastian Kleineidam |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |