Re: Detecting the installed MTA

2005-04-08 Thread Antti-Juhani Kaijanaho
On 20050407T172533+0300, Antti-Juhani Kaijanaho wrote: (Don't use grep-status or grep-available in package scripts.) Since I've been asked, here's some more about that from /usr/share/doc/grep-dctrl/Compatibility : 8-- If you use grep-dctrl in a Debian package, you should depend on the

Detecting the installed MTA

2005-04-07 Thread Søren Boll Overgaard
Hello, During packaging, that is, during the installation of a package, I need to determine which MTA is currently installed, since I need to set certain permissions specific to my package, so that they match with those of the currently running MTA. Looking through /etc/passwd for signs of MTA

Re: Detecting the installed MTA

2005-04-07 Thread Christoph Berg
Re: Søren Boll Overgaard in [EMAIL PROTECTED] During packaging, that is, during the installation of a package, I need to determine which MTA is currently installed, since I need to set certain permissions specific to my package, so that they match with those of the currently running MTA.

Re: Detecting the installed MTA

2005-04-07 Thread Josselin Mouette
Le jeudi 07 avril 2005 à 15:10 +0200, Søren Boll Overgaard a écrit : Hello, During packaging, that is, during the installation of a package, I need to determine which MTA is currently installed, since I need to set certain permissions specific to my package, so that they match with those of

Re: Detecting the installed MTA

2005-04-07 Thread Sebastian Ley
* Søren Boll Overgaard wrote: During packaging, that is, during the installation of a package, I need to determine which MTA is currently installed, since I need to set certain permissions specific to my package, so that they match with those of the currently running MTA. Might be hackish,

Re: Detecting the installed MTA

2005-04-07 Thread Antti-Juhani Kaijanaho
On 20050407T153710+0200, Christoph Berg wrote: Re: Søren Boll Overgaard in [EMAIL PROTECTED] During packaging, that is, during the installation of a package, I need to [...] grep-status -FProvides mail-transport-agent | grep-dctrl -FStatus installed -sPackage -n grep-dctrl -FProvides

Re: Detecting the installed MTA

2005-04-07 Thread Marc 'HE' Brockschmidt
Søren Boll Overgaard [EMAIL PROTECTED] writes: During packaging, that is, during the installation of a package, I need to determine which MTA is currently installed, since I need to set certain permissions specific to my package, so that they match with those of the currently running MTA.

Re: Detecting the installed MTA

2005-04-07 Thread Lars Wirzenius
to, 2005-04-07 kello 15:10 +0200, Søren Boll Overgaard kirjoitti: During packaging, that is, during the installation of a package, I need to determine which MTA is currently installed, since I need to set certain permissions specific to my package, so that they match with those of the

Re: Detecting the installed MTA

2005-04-07 Thread Nico Golde
Hello Lars, * Lars Wirzenius [EMAIL PROTECTED] [2005-04-07 17:17]: to, 2005-04-07 kello 15:10 +0200, Søren Boll Overgaard kirjoitti: During packaging, that is, during the installation of a package, I need to determine which MTA is currently installed, since I need to set certain

Re: Detecting the installed MTA

2005-04-07 Thread Humberto Massa
Nico Golde wrote: I think there is no other way expect to specify this in a config file. Or it should be documentated that in this case the user has do dpkg-reconfigure the package. Regards Nico Isn't there a way to write a trigger to be... hmmm... triggered in case some specific package (/in/

Re: Detecting the installed MTA

2005-04-07 Thread Tollef Fog Heen
* Humberto Massa | Isn't there a way to write a trigger to be... hmmm... triggered in | case some specific package (/in/ /casu/ one of the MUAs) get | installed/uninstalled/reconfigured? Not yet. One of the many to-be-implemented dpkg features. -- Tollef Fog Heen