summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTails developers <amnesia@boum.org>2014-10-09 00:35:00 +0200
committerTails developers <amnesia@boum.org>2014-10-09 00:35:00 +0200
commitd9e75b742f2324f68b9781feae297da09ce9e1b1 (patch)
tree3d1d0cf519bafedb69649bf5f1f00affce256e99
parentd7cbfad043867f370ee9b8a63b42d706e0af139a (diff)
Drop patch now part of Tails Greeter.1.2-rc1
-rw-r--r--config/chroot_local-patches/browser-localization.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/config/chroot_local-patches/browser-localization.patch b/config/chroot_local-patches/browser-localization.patch
deleted file mode 100644
index aba1ab8..0000000
--- a/config/chroot_local-patches/browser-localization.patch
+++ /dev/null
@@ -1,35 +0,0 @@
---- chroot.orig/etc/gdm3/PostLogin/Default 2014-10-03 02:16:53.170723099 +0200
-+++ chroot/etc/gdm3/PostLogin/Default 2014-10-03 02:14:07.235916994 +0200
-@@ -130,6 +130,32 @@
- XKBOPTIONS="$TAILS_XKBOPTIONS"
- EOF
-
-+# Chose which browser language pack to use
-+LONG_LOCALE="$(echo ${TAILS_LOCALE_NAME} | sed -e 's/\..*$//' -e 's/_/-/')"
-+SHORT_LOCALE="$(echo ${LONG_LOCALE} | cut -d"-" -f1)"
-+LANGPACK_DIR="/usr/local/lib/tor-browser/extensions"
-+if [ -e "${LANGPACK_DIR}/langpack-${LONG_LOCALE}@firefox.mozilla.org.xpi" ]; then
-+ BROWSER_LOCALE="${LONG_LOCALE}"
-+elif [ -e "${LANGPACK_DIR}/langpack-${SHORT_LOCALE}@firefox.mozilla.org.xpi" ]; then
-+ BROWSER_LOCALE="${SHORT_LOCALE}"
-+else
-+ BROWSER_LOCALE="en-US"
-+fi
-+TOR_LAUNCHER_LOCALES_DIR=/usr/share/tor-launcher-standalone/chrome/locale
-+if [ -e "${TOR_LAUNCHER_LOCALES_DIR}/${LONG_LOCALE}" ]; then
-+ TOR_LAUNCHER_LOCALE="${LONG_LOCALE}"
-+elif [ -e "${TOR_LAUNCHER_LOCALES_DIR}/${SHORT_LOCALE}" ]; then
-+ TOR_LAUNCHER_LOCALE="${SHORT_LOCALE}"
-+else
-+ TOR_LAUNCHER_LOCALE="en-US"
-+fi
-+echo "pref(\"general.useragent.locale\", \"${BROWSER_LOCALE}\");" > \
-+ /var/lib/tails-user-session/browser-locale.js
-+echo "pref(\"general.useragent.locale\", \"${TOR_LAUNCHER_LOCALE}\");" > \
-+ /var/lib/tails-user-session/tor-launcher-locale.js
-+chmod 664 /var/lib/tails-user-session/browser-locale.js \
-+ /var/lib/tails-user-session/tor-launcher-locale.js
-+
- ### Persistence
-
- # Copy persistence configuration to a root-writable, world-readable place,