Commit 62285af8 authored by Tails developers's avatar Tails developers
Browse files

Rename chroot browser data files.

parent ac0c989b
......@@ -107,7 +107,7 @@ configure_chroot () {
${BROWSER_PREFS}
# add the I2P proxy to all protocols
cp /usr/share/tails/i2p-browser/i2p-browser.js "${BROWSER_PREF_DIR}"
cp /usr/share/tails/i2p-browser/prefs.js "${BROWSER_PREF_DIR}"
# Hide options in the I2P Browser.
# It would be good to implement the ability to persist the browser profile in the
......@@ -125,7 +125,7 @@ configure_chroot () {
# Change the theme when not using Windows camouflage
if ! windows_camouflage_is_enabled; then
cat /usr/share/tails/i2p-browser/i2p-browser-theme.js >> "${BROWSER_PREFS}"
cat /usr/share/tails/i2p-browser/theme.js >> "${BROWSER_PREFS}"
else
# The camouflage activation script requires a dbus server for
# properly configuring GNOME, so we start one in the chroot
......
......@@ -90,7 +90,7 @@ configure_chroot () {
BROWSER_PREFS="${BROWSER_PROFILE}"/preferences/prefs.js
mkdir -p "$(dirname "${BROWSER_PREFS}")"
cp /usr/share/tails/unsafe-browser/unsafe-browser.js "${BROWSER_PREFS}"
cp /usr/share/tails/unsafe-browser/prefs.js "${BROWSER_PREFS}"
# Localization
BEST_LOCALE="$(guess_best_tor_browser_locale)"
......@@ -118,7 +118,7 @@ configure_chroot () {
# we may run below requires that the browser profile is writable
# by the user running the script (i.e. clearnet).
if ! windows_camouflage_is_enabled; then
cat /usr/share/tails/unsafe-browser/unsafe-browser-theme.js >> "${BROWSER_PREFS}"
cat /usr/share/tails/unsafe-browser/theme.js >> "${BROWSER_PREFS}"
else
# The camouflage activation script requires a dbus server for
# properly configuring GNOME, so we start one in the chroot
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment