Commit ac810130 authored by intrigeri's avatar intrigeri

Use existing function instead of rewriting half of it.

parent 0d22683e
...@@ -89,8 +89,9 @@ configure_xulrunner_app_locale() { ...@@ -89,8 +89,9 @@ configure_xulrunner_app_locale() {
profile="${1}" profile="${1}"
locale="${2}" locale="${2}"
mkdir -p "${profile}"/preferences mkdir -p "${profile}"/preferences
echo "user_pref(\"intl.locale.requested\", \"${locale}\");" > \ set_mozilla_pref "${profile}"/prefs.js \
"${profile}"/prefs.js "intl.locale.requested" "\"${locale}\"" \
"user_pref"
} }
configure_best_tor_browser_locale() { configure_best_tor_browser_locale() {
......
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