summaryrefslogtreecommitdiff
path: root/debian/vyatta-op.postrm.in
diff options
context:
space:
mode:
Diffstat (limited to 'debian/vyatta-op.postrm.in')
-rw-r--r--debian/vyatta-op.postrm.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/vyatta-op.postrm.in b/debian/vyatta-op.postrm.in
new file mode 100644
index 0000000..75d77ca
--- /dev/null
+++ b/debian/vyatta-op.postrm.in
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+bindir=@bindir@
+
+if [ "$1" = "purge" ]; then
+ # remove added symlinks
+ rm -f ${bindir}/sudo-users/ethtool
+fi
+