From 504b597d16e3b0471901e01964fcd229dd3f947e Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Tue, 2 Sep 2008 16:03:22 -0700 Subject: Fix 3540: ssmtp complaining that it's unable to locate mail --- debian/control | 2 +- debian/vyatta-op.postinst.in | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'debian') diff --git a/debian/control b/debian/control index ec5e98c..4cf7a5f 100644 --- a/debian/control +++ b/debian/control @@ -7,6 +7,7 @@ Standards-Version: 3.7.2 Package: vyatta-op Architecture: all +Pre-depends: ssmtp Depends: sed (>= 4.1.5), ethtool, traceroute, @@ -19,7 +20,6 @@ Depends: sed (>= 4.1.5), vyatta-bash | bash (>= 3.1), less, libio-prompt-perl, - ssmtp, at Suggests: util-linux (>= 2.13-5), net-tools, diff --git a/debian/vyatta-op.postinst.in b/debian/vyatta-op.postinst.in index e8bab7f..b5d475b 100644 --- a/debian/vyatta-op.postinst.in +++ b/debian/vyatta-op.postinst.in @@ -7,3 +7,6 @@ bindir=@bindir@ # add symlinks for sudo ln -sf /opt/vyatta/bin/vyatta-show-interfaces.pl ${bindir}/sudo-users/vyatta-show-interfaces.pl ln -sf /opt/vyatta/sbin/vyatta-interfaces.pl ${bindir}/sudo-users/vyatta-interfaces.pl + +# rm symlink for sendmail that was added by ssmtp package +rm -f /usr/sbin/sendmail -- cgit v1.2.3