From 5834af54fbaaaeb4720ae6fbb7ab2f92b24e5772 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Thu, 11 May 2023 08:56:55 -0400 Subject: [PATCH] Auto Update --- pull.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pull.sh b/pull.sh index cc73f38..d274bd7 100644 --- a/pull.sh +++ b/pull.sh @@ -1,5 +1,5 @@ #!/bin/bash -if [ -d ~/git/dotfiles ] ; then +if [[ -d ~/git/dotfiles ]] ; then git config --global user.email "matt@nelim.org" git config --global user.name "matt1432" @@ -7,7 +7,7 @@ if [ -d ~/git/dotfiles ] ; then git config pull.rebase false git pull - if [ $(sed 's/.* //' ~/git/dotfiles/.git/FETCH_HEAD) = "git.nelim.org:matt1432/dotfiles" ] ; then + if [[ $(sed 's/.* //' ~/git/dotfiles/.git/FETCH_HEAD) = "git.nelim.org:matt1432/dotfiles" ]] ; then git commit -am "Auto Update" git push fi)