diff --git a/.fenix-fox.sh.swp b/.fenix-fox.sh.swp new file mode 100644 index 0000000..3ae0a14 Binary files /dev/null and b/.fenix-fox.sh.swp differ diff --git a/fenix-fox.sh b/fenix-fox.sh index a5627c3..accaab8 100755 --- a/fenix-fox.sh +++ b/fenix-fox.sh @@ -4,9 +4,9 @@ ## Variables # # 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" -installdir=`find ~/.mozilla/firefox -name $firefox_profiledir` +installdir=`find $firefox_root -name $firefox_profiledir` # git repo fenix_fox="https://git.datenkastl.org/pmOS-tweaks/fenix-fox.git" @@ -33,6 +33,9 @@ enable_profile_customizations() { deploy_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 src/userChrome/userChrome-fenix_fox.css $installdir/chrome/ }