Fix auto check install

This commit is contained in:
lhark 2016-06-28 04:26:21 +02:00
parent 99a687a315
commit cf9577b137

View file

@ -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