Update dotfiles/.local/bin/install-dotfiles

This commit is contained in:
Brian Zalewski 2022-10-25 12:09:21 +00:00
parent 0a63c6fad5
commit b227319624

View file

@ -43,15 +43,15 @@ while read LOCAL_BIN; do
done < <(find "$HOME/.local/bin" -maxdepth 1 -mindepth 1 -type f) done < <(find "$HOME/.local/bin" -maxdepth 1 -mindepth 1 -type f)
# Firefox theme # Firefox theme
if [ ! -f ~/.mozilla/firefox ] && [ ! -f '/etc/qubes-release' ]; then # if [ ! -f ~/.mozilla/firefox ] && [ ! -f '/etc/qubes-release' ]; then
if [ -d /usr/local/src/firefox-sweet-theme/.git ]; then # if [ -d /usr/local/src/firefox-sweet-theme/.git ]; then
sudo git config pull.rebase false # sudo git config pull.rebase false
cd /usr/local/src/firefox-sweet-theme && git pull origin master # cd /usr/local/src/firefox-sweet-theme && git pull origin master
else # else
sudo git clone https://github.com/EliverLara/firefox-sweet-theme /usr/local/src/firefox-sweet-theme # sudo git clone https://github.com/EliverLara/firefox-sweet-theme /usr/local/src/firefox-sweet-theme
fi # fi
bash /usr/local/src/firefox-sweet-theme/scripts/install.sh # bash /usr/local/src/firefox-sweet-theme/scripts/install.sh
fi # fi
# grep -q QT_QPA_PLATFORMTHEME=qt5ct /etc/environment || echo QT_QPA_PLATFORMTHEME=qt5ct | sudo tee -a /etc/environment # grep -q QT_QPA_PLATFORMTHEME=qt5ct /etc/environment || echo QT_QPA_PLATFORMTHEME=qt5ct | sudo tee -a /etc/environment
# sudo cp -rv "$HOME/.local/share/qt5ct" /usr/share # sudo cp -rv "$HOME/.local/share/qt5ct" /usr/share