File: proxy

package info (click to toggle)
apt-listbugs 0.1.47
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,048 kB
  • sloc: ruby: 2,339; sh: 166; makefile: 64
file content (11 lines) | stat: -rw-r--r-- 291 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -eu

# use proxy by setting environment variable
http_proxy=http://127.0.0.1:8118 apt-listbugs -y list apt

# use proxy by loading configuration file
apt-listbugs -C ./debian/tests/proxy_apt.conf -y list apt
apt-listbugs -C ./debian/tests/proxy_specific_apt.conf -y list apt