Commit bcd8c314 authored by Tails developers's avatar Tails developers

Escape dots in regex.

parent f4a0ae29
......@@ -34,7 +34,7 @@ done
if pgrep -f "firefox --app.*tor-launcher-standalone"; then
pkill -f "firefox --app.*tor-launcher-standalone"
pref=/user/Data/Browser/profile.default/prefs.js
sed -i '/^user_pref("extensions.torlauncher.prompt_at_startup"/d' "${pref}"
sed -i '/^user_pref("extensions\.torlauncher\.prompt_at_startup"/d' "${pref}"
echo 'user_pref("extensions.torlauncher.prompt_at_startup", false);' >> "${pref}"
fi
......
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