diff options
author | Peter Palfrader <peter@palfrader.org> | 2002-10-25 10:56:49 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2002-10-25 10:56:49 +0000 |
commit | 83e80030fcc456952624523bed3c81b4d8953432 (patch) | |
tree | ae17ee667eb7eb5755575e7af0c7f666772c2cde /debian/echolot.postinst.in | |
parent | 2cf545f50a2008c2550d9d631105de7d93929525 (diff) |
New upstream version
Make recipient delimiter configured by debconf
Diffstat (limited to 'debian/echolot.postinst.in')
-rwxr-xr-x | debian/echolot.postinst.in | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/debian/echolot.postinst.in b/debian/echolot.postinst.in index fac7a1c..912a69b 100755 --- a/debian/echolot.postinst.in +++ b/debian/echolot.postinst.in @@ -66,13 +66,15 @@ cat > $filename << 'EOF' my $address = Debconf::Client::ConfModule::get("echolot/address"); my $operator = Debconf::Client::ConfModule::get("echolot/operator"); my $sitename = Debconf::Client::ConfModule::get("echolot/sitename"); + my $recipient_delimiter = Debconf::Client::ConfModule::get("echolot/recipient_delimiter"); my ($local, $domain) = split (/@/, $address, 2); - my $debconf = sprintf("\$CONFIG->{q{my_localpart} } = q{%s};\n", $local); - $debconf .= sprintf("\$CONFIG->{q{my_domain} } = q{%s};\n", $domain); - $debconf .= sprintf("\$CONFIG->{q{operator_address}} = q{%s};\n", $operator); - $debconf .= sprintf("\$CONFIG->{q{sitename} } = q{%s};\n", $sitename); + my $debconf = sprintf("\$CONFIG->{q{my_localpart} } = q{%s};\n", $local); + $debconf .= sprintf("\$CONFIG->{q{my_domain} } = q{%s};\n", $domain); + $debconf .= sprintf("\$CONFIG->{q{operator_address} } = q{%s};\n", $operator); + $debconf .= sprintf("\$CONFIG->{q{sitename} } = q{%s};\n", $sitename); + $debconf .= sprintf("\$CONFIG->{q{recipient_delimiter} } = q{%s};\n", $recipient_delimiter); my $fh = new IO::File; $fh->open(">/etc/echolot/pingd.conf") or |