minor changes

This commit is contained in:
Solomon Laing 2021-08-29 19:56:41 +09:30
parent 9c41d25efe
commit a11c5f6a43

View File

@ -31,12 +31,10 @@ function config {
/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME $@ /usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME $@
} }
if [ -d $HOME/.cfg ]; then if [ ! -d $HOME/.cfg ]; then
sudo rm -rf $HOME/.cfg git clone --bare https://gitlab.inkletblot.com/inkletblot/config.git $HOME/.cfg
fi fi
git clone --bare https://gitlab.inkletblot.com/inkletblot/config.git $HOME/.cfg
echo " 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. 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.