~ubuntu-branches/ubuntu/karmic/postfix/karmic

« back to all changes in this revision

Viewing changes to debian/postfix.config

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2006-04-07 08:20:32 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20060407082032-7oh5sw5n1ox4nsax
Tags: 2.2.10-1
* New upstream version
* Add Galician debconf translations.  Closes: #361255

Show diffs side-by-side

added added

removed removed

Lines of Context:
345
345
    }
346
346
 
347
347
    if ($topstate eq "protocols") {
348
 
      if (-d "/proc/sys/net/ipv6" && -d "/proc/sys/net/ipv4") {
349
 
        $protos="all";
350
 
      } elsif (-d "/proc/sys/net/ipv6") {
351
 
        $protos="ipv6";
352
 
      } elsif (-d "/proc/sys/net/ipv4") {
353
 
        $protos="ipv4";
 
348
      if (fget("postfix/protocols", "isdefault") eq "true") {
 
349
        if (-d "/proc/sys/net/ipv6" && -d "/proc/sys/net/ipv4") {
 
350
          $protos="all";
 
351
        } elsif (-d "/proc/sys/net/ipv6") {
 
352
          $protos="ipv6";
 
353
        } elsif (-d "/proc/sys/net/ipv4") {
 
354
          $protos="ipv4";
 
355
        }
 
356
        set("postfix/protocols", $protos) if $protos;
354
357
      }
355
 
      set("postfix/protocols", $protos) if $protos;
356
358
 
357
359
      $noninteractive = (((input("low", "postfix/protocols"))[0]) == 30);
358
360
      if ($noninteractive) {