use parent path for config dir creation
parent
45df534cb8
commit
fea3a08bc7
|
@ -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 []
|
||||||
|
|
Loading…
Reference in New Issue