1
0
Fork 0

use parent path for config dir creation

Florian Schrofner 2024-11-17 14:08:26 +01:00
parent 45df534cb8
commit fea3a08bc7
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@
(defn- link-config-file [src dest] (defn- link-config-file [src dest]
;; make sure the parent directory of destination file exists ;; make sure the parent directory of destination file exists
(safe-sh-as-user "mkdir" "-p" dest) (->> (fs/file) (fs/parent) (fs/path) (safe-sh-as-user "mkdir" "-p"))
(safe-sh-as-user "ln" "-fs" src dest)) (safe-sh-as-user "ln" "-fs" src dest))
(defn- link-config-files [] (defn- link-config-files []