Add symbolic link instead of copying css file to userChrome.css

This commit is contained in:
Fliegerjohn 2023-11-20 23:22:25 +01:00
parent 5e0a5a18b6
commit 8cd448564f
Signed by: fliegerjohn
GPG key ID: E2221D5FE4656B6A
2 changed files with 2 additions and 1 deletions

Binary file not shown.

View file

@ -34,10 +34,11 @@ enable_profile_customizations() {
deploy_fenix_fox() { deploy_fenix_fox() {
echo "Copy files in place and enable fenix-fox" echo "Copy files in place and enable fenix-fox"
if [ -d "${installdir}/chrome" ]; then if [ -d "${installdir}/chrome" ]; then
echo "dir chrome already there, take backup"
mv $installdir/chrome $installdir/chrome.original mv $installdir/chrome $installdir/chrome.original
fi fi
cp -r src/userChrome $installdir/chrome cp -r src/userChrome $installdir/chrome
cp src/userChrome/userChrome-fenix_fox.css $installdir/chrome/ ln -s $installdir/chrome/userChrome-fenix_fox.css $installdir/chrome/userChrome.css
} }
# Clonerepo not in use # Clonerepo not in use