diff options
Diffstat (limited to 'src/fcopy')
-rw-r--r-- | src/fcopy/main.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/fcopy/main.c b/src/fcopy/main.c index 4be35e23f..c64d20127 100644 --- a/src/fcopy/main.c +++ b/src/fcopy/main.c | |||
@@ -402,15 +402,6 @@ static void duplicate_link(const char *src, const char *dest, struct stat *s) { | |||
402 | gid_t gid = s->st_gid; | 402 | gid_t gid = s->st_gid; |
403 | mode_t mode = s->st_mode; | 403 | mode_t mode = s->st_mode; |
404 | 404 | ||
405 | // NixOS problem #4887: | ||
406 | // /etc/fonts is a double symlink to a directory - copy the files instead of copying the symlink | ||
407 | if (strcmp(src, "/etc/fonts") == 0) { | ||
408 | duplicate_dir(src, dest, s); | ||
409 | free(rsrc); | ||
410 | free(rdest); | ||
411 | return; | ||
412 | } | ||
413 | |||
414 | // build destination file name | 405 | // build destination file name |
415 | char *name; | 406 | char *name; |
416 | // char *ptr = strrchr(rsrc, '/'); | 407 | // char *ptr = strrchr(rsrc, '/'); |