diff options
| author | Jeff Carr <[email protected]> | 2023-03-09 20:40:10 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-03-09 20:40:10 -0600 |
| commit | 8c11a42768d48cc5d165da4ff01c2dc390c28f6f (patch) | |
| tree | 6c78f52eabd9bc77f9388a33ed7d7f4d56806524 | |
| parent | 6caa00c9d053b17ad7133d1c0e2818fe279880d3 (diff) | |
check if bash already is done
Signed-off-by: Jeff Carr <[email protected]>
| -rw-r--r-- | Makefile | 25 |
1 files changed, 18 insertions, 7 deletions
@@ -1,8 +1,23 @@ all: - echo is this a new install? + @echo + @echo is this a new install? + @echo if so, run: + @echo + @echo 'make new-install' + @echo -check: - echo ${WIT_USER} +new-install: + make setup-bash + make go + +setup-bash: +ifeq ($(WIT_BASH),true) + echo WIT_BASH is already set WIT_USER=${WIT_USER} + exit +else + echo WIT_BASH is not set WIT_USER=${WIT_USER} + cat bashrc/.bashrc >> ~/.bashrc +endif go: wget https://go.dev/dl/go1.19.linux-amd64.tar.gz @@ -16,10 +31,6 @@ git-update: cd ~/.config/wit/ git pull -setup-bash: - echo ${WIT_USER} - cat bashrc/.bashrc >> ~/.bashrc - setup-vim: cp ~/.config/wit/vimrc ~/.config/ |
