first commit

This commit is contained in:
2025-06-20 15:31:27 +00:00
commit 1a9b47a7a2
5 changed files with 116 additions and 0 deletions

13
poc/install.sh Normal file
View 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"