mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Co-authored-by: Miouyouyou (Myy) <myy@miouyouyou.fr> Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com> Co-authored-by: Richard Neese <r.neese@gmail.com> Co-authored-by: iav <iav@iav.lv> Co-authored-by: lanefu <lanefu@users.noreply.github.com> Co-authored-by: Werner <EvilOlaf@users.noreply.github.com> Co-authored-by: Oleg <balbes-150@yandex.ru> Co-authored-by: Lane Jennison <lane@lane-fu.com> Co-authored-by: JMCC <jmcc1@gmx.com>
13 lines
744 B
Plaintext
13 lines
744 B
Plaintext
# overwrite stock chromium configuration
|
|
if [ -d /etc/chromium-browser/ ]; then ln -sf /etc/armbian/chromium.conf /etc/chromium-browser/default; fi
|
|
if [ -d /etc/chromium.d/ ]; then ln -sf /etc/armbian/chromium.conf /etc/chromium.d/chromium.conf; fi
|
|
cp -R /etc/armbian/chromium /usr/share
|
|
|
|
# overwrite stock firefox configuration
|
|
if [ -d /etc/firefox/ ]; then ln -sf /etc/armbian/firefox.conf /etc/firefox/syspref.js; fi
|
|
if [ -d /usr/lib/firefox-esr/ ]; then
|
|
ln -sf /etc/armbian/firefox.conf /usr/lib/firefox-esr/mozilla.cfg
|
|
echo 'pref("general.config.obscure_value", 0);' > /usr/lib/firefox-esr/defaults/pref/local-settings.js
|
|
echo 'pref("general.config.filename", "mozilla.cfg");' >> /usr/lib/firefox-esr/defaults/pref/local-settings.js
|
|
fi
|