refractor: move default systemd drop in files.
This commit is contained in:
parent
d1c8471b1d
commit
f564347580
11 changed files with 12 additions and 0 deletions
|
|
@ -71,6 +71,9 @@ func copyTo(src *paths.Path, dst *paths.Path) error {
|
|||
return err
|
||||
}
|
||||
destination = dst.JoinPath(destination)
|
||||
if err := destination.Parent().MkdirAll(); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := file.CopyTo(destination); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue