Autopull test
This commit is contained in:
@@ -21,13 +21,13 @@ fi
|
||||
|
||||
function update_dotfiles () {
|
||||
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
|
||||
fi
|
||||
}
|
||||
|
||||
if [ $shared_config -eq 0 ]; then
|
||||
update_dotfiles &|
|
||||
if [ "$shared_config" -eq 0 ]; then
|
||||
update_dotfiles &
|
||||
fi
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user