Moved all default preferences to the same location.

This commit is contained in:
Jocelyn Le Sage 2023-04-08 21:55:01 -04:00
parent e1d32c30f2
commit b1b68dcfea
4 changed files with 10 additions and 17 deletions

View file

@ -51,13 +51,6 @@ RUN \
find /usr/share/icons/Adwaita -type d -mindepth 1 -maxdepth 1 -not -name 16x16 -not -name scalable -exec rm -rf {} ';' && \
true
# Set default settings.
RUN \
CFG_FILE="/usr/lib/firefox/browser/defaults/preferences/firefox-branding.js" && \
echo '// Default download directory.' >> "$CFG_FILE" && \
echo 'pref("browser.download.dir", "/config/downloads");' >> "$CFG_FILE" && \
echo 'pref("browser.download.folderList", 2);' >> "$CFG_FILE"
# Install profile-cleaner.
#RUN \
# add-pkg --virtual build-dependencies curl && \