File: apt-cacher-cgi.pl

package info (click to toggle)
apt-cacher 1.7.23
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 548 kB
  • sloc: perl: 4,585; sh: 200; makefile: 5
file content (9 lines) | stat: -rwxr-xr-x 288 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
#!/usr/bin/perl
# cgi.pl - CGI to provide a local cache for debian packages and
# release files and .deb files. Actually just a wrapper to set CGI mode flag
# for the real script.

$ENV{CGI_MODE}=1;

# identify as CGI and run the actual script
require "/usr/share/apt-cacher/apt-cacher";