Browse Source

Fix auto check install

merge-requests/1/merge
lhark 10 years ago
parent
commit
cf9577b137
  1. 2
      install.sh

2
install.sh

@ -7,7 +7,7 @@ HOST=`hostname`
# List of the config files to install # List of the config files to install
FILES="vimrc zshrc gitconfig vim gitignore_global git_user" FILES="vimrc zshrc gitconfig vim gitignore_global git_user"
if [[ ! $1 == "--check" ]] if [[ ! -e $HOME/.git_user ]]
then then
cp $SCRIPTPATH/git_user.def $SCRIPTPATH/git_user cp $SCRIPTPATH/git_user.def $SCRIPTPATH/git_user
sed -i -e "s/{username}/$USER/" $SCRIPTPATH/git_user sed -i -e "s/{username}/$USER/" $SCRIPTPATH/git_user

Loading…
Cancel
Save