File: apt-cacher

package info (click to toggle)
apt-cacher 0.9.4sarge1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 268 kB
  • ctags: 224
  • sloc: perl: 1,862; makefile: 495; sh: 37
file content (12 lines) | stat: -rwxr-xr-x 293 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# Only do anything if apt-cacher is actually installed
if [ ! -x /usr/share/apt-cacher/apt-cacher.pl ]; then
  exit 0
fi

# Run the report generator
/usr/share/apt-cacher/apt-cacher-report.pl >/dev/null

# Run the cache cleaner
/usr/share/apt-cacher/apt-cacher-cleanup.pl >/dev/null