aboutsummaryrefslogtreecommitdiff
path: root/src/connection.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'src/connection.lisp')
-rw-r--r--src/connection.lisp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/connection.lisp b/src/connection.lisp
index b7a5cb6..370d146 100644
--- a/src/connection.lisp
+++ b/src/connection.lisp
@@ -252,6 +252,11 @@ login(1)). Tilde expansion works correctly."
(merge-pathnames ".cache/"
(connection-connattr connection :remote-home)))))
+(defmethod connection-connattr
+ ((connection connection) (k (eql :consfigurator-cache)))
+ (merge-pathnames "consfigurator/"
+ (connection-connattr connection :XDG-CACHE-HOME)))
+
;;;; Functions to access the slots of the current connection
@@ -603,10 +608,6 @@ specification of POSIX ls(1))."
0))
(failed-change "Could not determine time of remote's last reboot."))))
-(defun remote-consfigurator-cache-pathname (path)
- (merge-pathnames
- path (merge-pathnames "consfigurator/" (get-connattr :XDG-CACHE-HOME))))
-
(defun remote-executable-find (executable)
(zerop (mrun :for-exit "command" "-v" executable)))