summaryrefslogtreecommitdiff
path: root/debian/vyatta-op.postrm.in
blob: 34f21ed1a8eeb8ca37925d08f223c39bc4a4e9dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@

if [ "$1" = "purge" ]; then
  # remove added symlinks
  rm -f ${bindir}/sudo-users/ethtool
  rm -f ${bindir}/sudo-users/dmidecode
  rm -f ${bindir}/sudo-users/iptables
  rm -f /usr/bin/count
  rm -f /usr/bin/match
  rm -f /usr/bin/no-match
  rm -f /usr/bin/no-more
fi