File: reinstall

package info (click to toggle)
auto-apt-proxy 13.3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 156 kB
  • sloc: sh: 189; makefile: 13
file content (11 lines) | stat: -rwxr-xr-x 214 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -e
exec 2>&1

set -x
apt-get remove -qy auto-apt-proxy
apt-get install -qy auto-apt-proxy

eval "$(apt-config shell proxy Acquire::http::Proxy-Auto-Detect)"
test "$proxy" = '/usr/bin/auto-apt-proxy'