Commit 03eac3fd authored by Tails developers's avatar Tails developers

Fix typo in function name.

parent e7168fb2
...@@ -4,7 +4,7 @@ language_code_from_locale () { ...@@ -4,7 +4,7 @@ language_code_from_locale () {
echo "${1}" | sed "s,\(_\|\.\).*$,," echo "${1}" | sed "s,\(_\|\.\).*$,,"
} }
localize_tails_doc_page () { localized_tails_doc_page () {
local page="${1}" local page="${1}"
local lang_code="$(language_code_from_locale "${LANG}")" local lang_code="$(language_code_from_locale "${LANG}")"
local try_page local try_page
......
...@@ -8,7 +8,7 @@ set -e ...@@ -8,7 +8,7 @@ set -e
# Import the TBB_EXT variable, and guess_best_tor_browser_locale(). # Import the TBB_EXT variable, and guess_best_tor_browser_locale().
. /usr/local/lib/tails-shell-library/tor-browser.sh . /usr/local/lib/tails-shell-library/tor-browser.sh
# Import localize_tails_doc_page(). # Import localized_tails_doc_page().
. /usr/local/lib/tails-shell-library/localization.sh . /usr/local/lib/tails-shell-library/localization.sh
# Import try_cleanup_browser_chroot(), setup_browser_chroot(), # Import try_cleanup_browser_chroot(), setup_browser_chroot(),
...@@ -85,7 +85,7 @@ BROWSER_USER="clearnet" ...@@ -85,7 +85,7 @@ BROWSER_USER="clearnet"
NM_ENV_FILE="/var/lib/NetworkManager/env" NM_ENV_FILE="/var/lib/NetworkManager/env"
BEST_LOCALE="$(guess_best_tor_browser_locale)" BEST_LOCALE="$(guess_best_tor_browser_locale)"
WARNING_PAGE='/usr/share/doc/tails/website/misc/unsafe_browser_warning' WARNING_PAGE='/usr/share/doc/tails/website/misc/unsafe_browser_warning'
START_PAGE="$(localize_tails_doc_page "${WARNING_PAGE}")" START_PAGE="$(localized_tails_doc_page "${WARNING_PAGE}")"
# Prevent multiple instances of the script. # Prevent multiple instances of the script.
exec 9>"${LOCK}" exec 9>"${LOCK}"
......
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