summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@io.vyatta.com>2008-09-02 16:03:22 -0700
committerStig Thormodsrud <stig@io.vyatta.com>2008-09-02 16:03:22 -0700
commit504b597d16e3b0471901e01964fcd229dd3f947e (patch)
treed38b73c962e370a50a0104bb884107119b74c1b5
parent9981edbf6ee6c88e80d61fca4a8a86b5e7750b5b (diff)
downloadvyatta-op-504b597d16e3b0471901e01964fcd229dd3f947e.tar.gz
vyatta-op-504b597d16e3b0471901e01964fcd229dd3f947e.zip
Fix 3540: ssmtp complaining that it's unable to locate mail
-rw-r--r--debian/control2
-rw-r--r--debian/vyatta-op.postinst.in3
2 files changed, 4 insertions, 1 deletions
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