use-apt-mirror 106 Bytes Raw Blame History Permalink 1 2 3 #!/bin/sh find /etc/apt -type f -print0 | xargs -0 sed -i -e "s,http://httpredir.debian.org,http://$1,g"