From 4c7869bb07cb7ae36a9ea300996940ee5570c92c Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Thu, 15 Jul 2021 11:24:15 -0700 Subject: FILE:HOST-DATA-UPLOADED: use DEFPROPLIST Signed-off-by: Sean Whitton --- src/property/file.lisp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/property/file.lisp') diff --git a/src/property/file.lisp b/src/property/file.lisp index e5d10a9..bdda926 100644 --- a/src/property/file.lisp +++ b/src/property/file.lisp @@ -129,16 +129,13 @@ replacing the contents of existing files, prefer FILE:HAS-CONTENT." (containing-directory-exists destination) (maybe-writefile-data destination iden1 iden2))) -(defprop host-data-uploaded :posix +(defproplist host-data-uploaded :posix (destination ;; Require an absolute path because we don't know the remote home ;; directory at hostattrs time, so can't resolve it ourselves. &aux (destination (unix-namestring (ensure-pathname destination :want-absolute t)))) - (:hostattrs - (require-data (get-hostname) destination)) - (:apply - (data-uploaded (get-hostname) destination destination))) + (data-uploaded (get-hostname) destination destination)) (defprop secret-uploaded :posix (iden1 iden2 destination) (:hostattrs -- cgit v1.2.3