tinyproxy-wrapper 302 B

123456789101112
  1. #!/bin/bash
  2. if [ -e /usr/sbin/tinyproxy ]; then
  3. echo "Found tinyproxy at /usr/sbin/tinyproxy"
  4. exec /usr/sbin/tinyproxy "$@"
  5. elif [ -e /usr/bin/tinyproxy ]; then
  6. echo "Found tinyproxy at /usr/bin/tinyproxy"
  7. exec /usr/bin/tinyproxy "$@"
  8. else
  9. echo "tinyproxy not found"
  10. exit 1
  11. fi