From cf9577b137ef6ea2996be7199eefcf93f034e82b Mon Sep 17 00:00:00 2001 From: lhark Date: Tue, 28 Jun 2016 04:26:21 +0200 Subject: [PATCH] Fix auto check install --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index e93d53d..625da97 100755 --- a/install.sh +++ b/install.sh @@ -7,7 +7,7 @@ HOST=`hostname` # List of the config files to install FILES="vimrc zshrc gitconfig vim gitignore_global git_user" -if [[ ! $1 == "--check" ]] +if [[ ! -e $HOME/.git_user ]] then cp $SCRIPTPATH/git_user.def $SCRIPTPATH/git_user sed -i -e "s/{username}/$USER/" $SCRIPTPATH/git_user