summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-includes/usr/local/bin/iceweasel
diff options
context:
space:
mode:
Diffstat (limited to 'config/chroot_local-includes/usr/local/bin/iceweasel')
-rwxr-xr-xconfig/chroot_local-includes/usr/local/bin/iceweasel29
1 files changed, 0 insertions, 29 deletions
diff --git a/config/chroot_local-includes/usr/local/bin/iceweasel b/config/chroot_local-includes/usr/local/bin/iceweasel
deleted file mode 100755
index eeeb348..0000000
--- a/config/chroot_local-includes/usr/local/bin/iceweasel
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-
-# Do not "set -u", else importing gettext.sh dies
-# with "ZSH_VERSION: parameter not set".
-set -e
-
-. gettext.sh
-TEXTDOMAIN="tails"
-export TEXTDOMAIN
-
-ask_for_confirmation() {
- local dialog_title="`gettext \"Tor is not ready\"`"
- local dialog_text="`gettext \"Tor is not ready. Start Tor Browser anyway?\"`"
- local dialog_start="`gettext \"Start Tor Browser\"`"
- local dialog_cancel="`gettext \"Cancel\"`"
- # zenity can't set the default button to cancel, so we switch the
- # labels and interpret the return value as its negation.
- ! zenity --question \
- --title "$dialog_title" --text="$dialog_text" \
- --cancel-label "$dialog_start" --ok-label "$dialog_cancel"
-}
-
-tor_has_bootstrapped() {
- sudo -n -u debian-tor /usr/local/sbin/tor-has-bootstrapped
-}
-
-if tor_has_bootstrapped || ask_for_confirmation; then
- exec /usr/bin/iceweasel "$@" &
-fi