check if bash already is done
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
6caa00c9d0
commit
8c11a42768
25
Makefile
25
Makefile
|
@ -1,8 +1,23 @@
|
||||||
all:
|
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:
|
new-install:
|
||||||
echo ${WIT_USER}
|
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:
|
go:
|
||||||
wget https://go.dev/dl/go1.19.linux-amd64.tar.gz
|
wget https://go.dev/dl/go1.19.linux-amd64.tar.gz
|
||||||
|
@ -16,10 +31,6 @@ git-update:
|
||||||
cd ~/.config/wit/
|
cd ~/.config/wit/
|
||||||
git pull
|
git pull
|
||||||
|
|
||||||
setup-bash:
|
|
||||||
echo ${WIT_USER}
|
|
||||||
cat bashrc/.bashrc >> ~/.bashrc
|
|
||||||
|
|
||||||
setup-vim:
|
setup-vim:
|
||||||
cp ~/.config/wit/vimrc ~/.config/
|
cp ~/.config/wit/vimrc ~/.config/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue