summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile30
1 files changed, 9 insertions, 21 deletions
diff --git a/Makefile b/Makefile
index 0fb51ea..1e85498 100644
--- a/Makefile
+++ b/Makefile
@@ -37,33 +37,16 @@ else
cat bashrc/.bashrc >> ~/.bashrc
endif
-go:
- wget -c https://go.dev/dl/go1.19.linux-amd64.tar.gz
- mv go1.19.linux-amd64.tar.gz /usr/local/
- cd /usr/local && tar xfz go1.19.linux-amd64.tar.gz
- cd /usr/local/bin && ln -s ../go/bin/go .
-
git:
- git clone https://git.wit.org/wit/bash.git ~/.config/wit/
+ git clone https://cgit.grid.wit.com/wit.git ~/.config/wit/
git config pull.rebase false
-git-update:
+pull:
cd ~/.config/wit/
git pull
-setup-vim:
- cp ~/.config/wit/vimrc ~/.config/
-
-setup-apt:
- mv /etc/apt/sources.list /root/
- echo "deb http://mirrors.wit.com/debian/ sid main contrib non-free" > /etc/apt/sources.list
- apt update
- apt install -y lsof bash-completion libpam-systemd dbus rbd-nbd golang-go \
- git screen vim ethstatus ethtool sysstat \
- traceroute whois devscripts automake libtool devscripts nmap clang \
- rsync bind9utils dnsutils net-tools \
- tcpdump wget curl iputils-ping pciutils iptables sysbench man usbutils \
- ssh openssh-server neofetch bc lshw telnet hdparm vrms
+vimrc:
+ cd ~/.config && ln -sf wit/vimrc .
dist-upgrade:
apt dist-upgrade
@@ -75,3 +58,8 @@ setup-date:
@# I need to check to see if the clock is before this date, if so, then it's not working
wget --method=HEAD -qSO- --max-redirect=0 google.com 2>&1 | grep Date: | cut -d' ' -f 4-9
date -s '2023-02-21 11:31:30'
+
+push:
+ git add --all
+ -git commit -a
+ git push