after-remove.tpl 212 B

12345678
  1. #!/bin/bash
  2. # Delete the link to the binary
  3. if type update-alternatives >/dev/null 2>&1; then
  4. update-alternatives --remove '${executable}' '/usr/bin/${executable}'
  5. else
  6. rm -f '/usr/bin/${executable}'
  7. fi