aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/populate/src/check.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-24 04:52:13 +0000
committertv <tv@krebsco.de>2026-11-24 04:52:13 +0000
commit6ea379dbf3aad696f3aab3a145a877c4986e64e3 (patch)
treefb5a1704be1b5900c74edb6f14297af3c87ea3ac /pkgs/populate/src/check.rs
parenta021d211906d23c9e3454da974806454e9ec74c2 (diff)
populate symlink: replace a directory at the target path
ln -f replaces files and links, but not directories, so a symlink source failed where a directory was, e.g. the Git work tree of a source that had another type: "cannot overwrite directory". The symlink script removes what isn't a link first, with remove_tree, which also copes with directories that aren't writable.
Diffstat (limited to 'pkgs/populate/src/check.rs')
0 files changed, 0 insertions, 0 deletions