Skip to content

Commit

Permalink
Fix test runs
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Scott committed May 4, 2015
1 parent 3127dbf commit e38a0c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/homer-init
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
# Copy home directory template files to the user's home directory and
# initialize it as a Git repository.

source "$HOMER_PATH/share/homer/cli.zsh"

if [ -z $HOMER_PREFIX ]; then
export HOMER_PREFIX="/usr/local"
fi
Expand All @@ -15,8 +13,10 @@ if [ -z $HOMER_PATH ]; then
HOMER_PATH=$HOME
fi

source "$HOMER_PATH/share/homer/cli.zsh"

if [[ -e "$HOMER_PATH/.git" ]]; then
echo "There is already an existing Git repository in your home directory."
homer_error "There is already an existing Git repository in your home directory."
exit 0
fi

Expand Down

0 comments on commit e38a0c1

Please sign in to comment.