summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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