97-remove_i2p 356 B

1234567891011121314151617
  1. #!/bin/sh
  2. set -u
  3. set -e
  4. # Everything moved by this hook script will be reversed in the event that
  5. # the string "i2p" is entered at a boot prompt
  6. DEST="/usr/share/tails/i2p-disabled"
  7. [ -d "/usr/share/i2p" ] || return 0
  8. mkdir "$DEST"
  9. mv -f /usr/share/i2p "$DEST"
  10. mv -f /usr/sbin/wrapper "$DEST"
  11. mv -f /usr/share/applications/i2p-browser.desktop "$DEST"