Compare commits

...

2 commits

Author SHA1 Message Date
5e0a5a18b6
Move chrome if there 2023-11-20 12:59:20 +01:00
95fb50c322
Fix issue with variables 2023-11-20 12:55:03 +01:00
2 changed files with 5 additions and 2 deletions

BIN
.fenix-fox.sh.swp Normal file

Binary file not shown.

View file

@ -4,9 +4,9 @@
## Variables ## Variables
# #
# firefox dirs # firefox dirs
firefox_root="~/.mozilla/firefox" # Not in use jet because of a not known issue... firefox_root="$HOME/.mozilla/firefox"
firefox_profiledir="*.default-release" firefox_profiledir="*.default-release"
installdir=`find ~/.mozilla/firefox -name $firefox_profiledir` installdir=`find $firefox_root -name $firefox_profiledir`
# git repo # git repo
fenix_fox="https://git.datenkastl.org/pmOS-tweaks/fenix-fox.git" fenix_fox="https://git.datenkastl.org/pmOS-tweaks/fenix-fox.git"
@ -33,6 +33,9 @@ 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
mv $installdir/chrome $installdir/chrome.original
fi
cp -r src/userChrome $installdir/chrome cp -r src/userChrome $installdir/chrome
cp src/userChrome/userChrome-fenix_fox.css $installdir/chrome/ cp src/userChrome/userChrome-fenix_fox.css $installdir/chrome/
} }