diff --git a/install-config b/install-config index c7069d4..4e59c9f 100755 --- a/install-config +++ b/install-config @@ -31,12 +31,10 @@ function config { /usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME $@ } -if [ -d $HOME/.cfg ]; then - sudo rm -rf $HOME/.cfg +if [ ! -d $HOME/.cfg ]; then + git clone --bare https://gitlab.inkletblot.com/inkletblot/config.git $HOME/.cfg fi -git clone --bare https://gitlab.inkletblot.com/inkletblot/config.git $HOME/.cfg - echo " The script will now attempt to install the configs, if configs have been installed using the method found here: https://www.atlassian.com/git/tutorials/dotfiles, there will be issues.