diff --git a/.mgr_config/install.sh b/.mgr_config/install.sh index fdecf80..1497599 100644 --- a/.mgr_config/install.sh +++ b/.mgr_config/install.sh @@ -19,11 +19,11 @@ if [[ $NEEDS_GIT_DIR != 0 ]]; then echo "Setting up git repository." git init --bare ~/.git_home/ git-home remote add origin https://gitlab.maxregan.me/max/configs.git - git-home pull origin master + git-home branch master --set-upstream-to origin/master fi echo "Checking out configs." -git-home checkout -b master origin/master +git-home pull origin master if [[ $? != 0 ]]; then echo "Failed to checkout sources, there may be a conflicting file from the distribution. Fix and try again" exit 1