File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 5151 false ,
5252 "Forces all manpages to be re-extracted, even if there is no newer package version" )
5353
54+ remoteMirror = flag .String ("remote_mirror" ,
55+ "http://localhost:3142/deb.debian.org/" ,
56+ "URL of a Debian mirror to fetch packages from. localhost:3142 is provided by apt-cacher-ng" )
57+
5458 localMirror = flag .String ("local_mirror" ,
5559 "" ,
5660 "If non-empty, a file system path to a Debian mirror, e.g. /srv/mirrors/debian on DSA-maintained machines" )
@@ -86,7 +90,7 @@ func logic() error {
8690 ar := & archive.Downloader {
8791 Parallel : 10 ,
8892 MaxTransientRetries : 3 ,
89- Mirror : "http://localhost:3142/deb.debian.org /debian" ,
93+ Mirror : * remoteMirror + " /debian" ,
9094 LocalMirror : * localMirror ,
9195 }
9296
You can’t perform that action at this time.
0 commit comments