diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-04-23 16:09:31 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-04-24 17:23:59 -0700 |
commit | c69f3cbd438df4814e9d50fb17ec273c91edc060 (patch) | |
tree | ab1e53b0639862d60186b015682f0c402e6b748e /src/property/apt.lisp | |
parent | f5ca2ea1f9436ca12dabaecaeed8fe3db69c0c58 (diff) | |
download | consfigurator-c69f3cbd438df4814e9d50fb17ec273c91edc060.tar.gz |
add APT:CACHE-CLEANED
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/property/apt.lisp')
-rw-r--r-- | src/property/apt.lisp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/property/apt.lisp b/src/property/apt.lisp index 2ba27bd..12fae2e 100644 --- a/src/property/apt.lisp +++ b/src/property/apt.lisp @@ -192,6 +192,12 @@ only upgrade Debian stable." (mapcan (lambda (l) (list #?"deb @{l}" #?"deb-src @{l}")) (nconc archive security)))) +(defprop cache-cleaned :posix () + "Empty apt's cache to recover disk space." + (:desc "apt cache cleaned") + (:hostattrs (os:required 'os:debianlike)) + (:apply (apt-get "clean") :no-change)) + ;;;; Reports on installation status |