first commit
This commit is contained in:
13
poc/install.sh
Normal file
13
poc/install.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
BIN_PATH="$(pwd)/detect-http-proxy"
|
||||
CONF_PATH="/etc/apt/apt.conf.d/30detectproxy"
|
||||
|
||||
echo "[*] Installing detect-http-proxy to ${BIN_PATH}"
|
||||
chmod +x detect-http-proxy
|
||||
|
||||
echo "[*] Copying APT config to ${CONF_PATH}"
|
||||
sudo cp 30detectproxy $CONF_PATH
|
||||
|
||||
echo "[*] Done. Now run: sudo apt update"
|
||||
Reference in New Issue
Block a user