Autopull test

This commit is contained in:
murgi
2025-08-05 13:01:19 +02:00
parent 41748924c1
commit c5948b6438

View File

@@ -21,13 +21,13 @@ fi
function update_dotfiles () { function update_dotfiles () {
cd ~/dotfiles || return cd ~/dotfiles || return
if git fetch --dry-run | grep -q .; then if git fetch --dry-run | grep -q . > /dev/null 2>&1; then
git pull > /dev/null 2>&1 git pull > /dev/null 2>&1
fi fi
} }
if [ $shared_config -eq 0 ]; then if [ "$shared_config" -eq 0 ]; then
update_dotfiles &| update_dotfiles &
fi fi