123456789101112131415161718192021222324252627282930313233343536373839404142 |
- RELEASEURL_tmux_conf:="https://github.com/vladimirok5959/bash-linux-utils/releases/download/latest/tmux.conf"
- RELEASEURL_atr:="https://github.com/vladimirok5959/bash-linux-utils/releases/download/latest/atr"
- RELEASEURL_iptables_http_clear:="https://github.com/vladimirok5959/bash-linux-utils/releases/download/latest/iptables-http-clear"
- RELEASEURL_iptables_http_cloudflare:="https://github.com/vladimirok5959/bash-linux-utils/releases/download/latest/iptables-http-cloudflare"
- RELEASEURL_iptables_write:="https://github.com/vladimirok5959/bash-linux-utils/releases/download/latest/iptables-write"
- RELEASEURL_ping_disable:="https://github.com/vladimirok5959/bash-linux-utils/releases/download/latest/ping-disable"
- RELEASEURL_ping_enable:="https://github.com/vladimirok5959/bash-linux-utils/releases/download/latest/ping-enable"
- RELEASEURL_sess:="https://github.com/vladimirok5959/bash-linux-utils/releases/download/latest/sess"
- BINDIR:=/usr/local/bin
- default: info
- install:
- @echo "Downloading..."
- @wget -q $(RELEASEURL_tmux_conf) -O ~/.tmux.conf > /dev/null
- @chmod 644 ~/.tmux.conf
- @echo "[OK] ~/.tmux.conf"
- @wget -q $(RELEASEURL_atr) -O $(BINDIR)/atr > /dev/null
- @chmod 755 $(BINDIR)/atr
- @echo "[OK] $(BINDIR)/atr"
- @wget -q $(RELEASEURL_iptables_http_clear) -O $(BINDIR)/iptables-http-clear > /dev/null
- @chmod 755 $(BINDIR)/iptables-http-clear
- @echo "[OK] $(BINDIR)/iptables-http-clear"
- @wget -q $(RELEASEURL_iptables_http_cloudflare) -O $(BINDIR)/iptables-http-cloudflare > /dev/null
- @chmod 755 $(BINDIR)/iptables-http-cloudflare
- @echo "[OK] $(BINDIR)/iptables-http-cloudflare"
- @wget -q $(RELEASEURL_iptables_write) -O $(BINDIR)/iptables-write > /dev/null
- @chmod 755 $(BINDIR)/iptables-write
- @echo "[OK] $(BINDIR)/iptables-write"
- @wget -q $(RELEASEURL_ping_disable) -O $(BINDIR)/ping-disable > /dev/null
- @chmod 755 $(BINDIR)/ping-disable
- @echo "[OK] $(BINDIR)/ping-disable"
- @wget -q $(RELEASEURL_ping_enable) -O $(BINDIR)/ping-enable > /dev/null
- @chmod 755 $(BINDIR)/ping-enable
- @echo "[OK] $(BINDIR)/ping-enable"
- @wget -q $(RELEASEURL_sess) -O $(BINDIR)/sess > /dev/null
- @chmod 755 $(BINDIR)/sess
- @echo "[OK] $(BINDIR)/sess"
- @echo "All installed successfully"
- info:
- @echo "You can run 'make install'"
|