Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tails
tails
Commits
a311a3e3
Commit
a311a3e3
authored
Sep 02, 2016
by
anonym
Browse files
There's no index.$LANGCODE.html for our new start page.
Refs:
#11725
parent
73ec14b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
config/chroot_local-hooks/11-localize_browser
View file @
a311a3e3
...
...
@@ -13,9 +13,6 @@ echo "Localize each supported browser locale"
# Import language_code_from_locale()
.
/usr/local/lib/tails-shell-library/localization.sh
# Import TAILS_WIKI_SUPPORTED_LANGUAGES
.
/etc/amnesia/environment
TBB_LOCALIZED_SEARCHPLUGINS_DIR
=
"
${
TBB_INSTALL
}
/distribution/searchplugins/locale/"
BROWSER_LOCALIZATION_DIR
=
"/usr/share/tails/browser-localization"
DESCRIPTIONS_FILE
=
"
${
BROWSER_LOCALIZATION_DIR
}
/descriptions"
...
...
@@ -137,9 +134,6 @@ while IFS=: read MOZILLA_LOCALE LOCATION LOCALIZED_LANG STARTPAGE_LANG STARTPAGE
"spellchecker.dictionary"
\
"
${
SPELLCHECKER_LOCALE
}
"
HOMEPAGE
=
"https://tails.boum.org/home/"
if
echo
"
${
TAILS_WIKI_SUPPORTED_LANGUAGES
}
"
|
grep
-qw
"
${
LANG_CODE
}
"
;
then
HOMEPAGE
=
"
${
HOMEPAGE
}
index.
${
LANG_CODE
}
.html"
fi
set_simple_config_key
"
${
TARGET_BRANDING_FILE
}
"
\
"browser.startup.homepage"
"
${
HOMEPAGE
}
"
done
<
"
${
DESCRIPTIONS_FILE
}
"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment