aboutsummaryrefslogtreecommitdiff
path: root/src/property/file.lisp
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-10-09 12:55:46 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-10-23 12:30:17 -0700
commitdee05622a94e2803d232892b376aba70328c21e6 (patch)
treebc51a8edee0db1a3f0109e40ca760997ac3a45e0 /src/property/file.lisp
parent720ee21a0905d36cf29af49ce8b6d572296dddb6 (diff)
downloadconsfigurator-dee05622a94e2803d232892b376aba70328c21e6.tar.gz
replace some functions with a new :CONSFIGURATOR-CACHE connattr
This simplifies the API. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/property/file.lisp')
-rw-r--r--src/property/file.lisp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/property/file.lisp b/src/property/file.lisp
index 9c4ad7d..0d89d82 100644
--- a/src/property/file.lisp
+++ b/src/property/file.lisp
@@ -166,7 +166,8 @@ any of the regular expressions PATTERNS."
(defprop data-cache-purged :posix ()
"Ensure that any prerequisite data cached in the remote home directory is removed."
(:desc "Consfigurator data cache cleaned")
- (:apply (directory-does-not-exist (get-remote-data-cache-dir))))
+ (:apply (directory-does-not-exist
+ (merge-pathnames "data/" (get-connattr :consfigurator-cache)))))
(defprop regex-replaced-lines :posix (file regex replace)
"Like s/REGEX/REPLACE/ on the lines of FILE.