Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /bin/bash
- dialog --title "APT Cacher Server" --inputbox "Enter IP of APT-cacher Server: \neg) 124.158.108.139" 8 40 2> IP
- OUT=$(cat IP)
- echo 'Acquire::http::Proxy "http://'${OUT}':3142/apt-cacher/";' > /etc/apt/apt.conf.d/01proxy
- cat /etc/apt/apt.conf.d/01proxy
- rm IP
Advertisement
Add Comment
Please, Sign In to add comment