Skip to content
Snippets Groups Projects

Bug 40860: Improve the transition from the old fontconfig file to the new one

Merged Pier Angelo Vendrame requested to merge pierov/tor-browser-build:bug_40860 into main
2 files
+ 24
0
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -340,6 +340,15 @@ setControlPortPasswd ${TOR_CONTROL_PASSWD:='"secret"'}
# Set up custom bundled fonts. See fonts-conf(5).
export FONTCONFIG_PATH="${HOME}/fontconfig"
export FONTCONFIG_FILE="fonts.conf"
[% # tor-browser#41776: We cannot make the updater remove this file.
# So, let's remove it on this script, since we know that at this point the
# browser will not need it anymore.
# Remove once we do a watershed release.
-%]
[% IF c("var/tor-browser") -%]
# Old fontconfig directory, not needed anymore
rm -Rf "${HOME}/TorBrowser/Data/fontconfig"
[% END -%]
# Avoid overwriting user's dconf values. Fixes #27903.
export GSETTINGS_BACKEND=memory
Loading