mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
guix: Exclude broken symlinks from man files.
* guix/man-db.scm (man-files): Remove broken symlinks from list of man pages.
This commit is contained in:
parent
9c3ad422d0
commit
47ebb1a850
1 changed files with 2 additions and 1 deletions
|
@ -187,7 +187,8 @@ (define (string->number* str)
|
|||
|
||||
(define (man-files directory)
|
||||
"Return the list of man pages found under DIRECTORY, recursively."
|
||||
(find-files directory "\\.[0-9][a-z]?(\\.gz)?$"))
|
||||
;; Filter the list to ensure that broken symlinks are excluded.
|
||||
(filter file-exists? (find-files directory "\\.[0-9][a-z]?(\\.gz)?$")))
|
||||
|
||||
(define (mandb-entries directory)
|
||||
"Return mandb entries for the man pages found under DIRECTORY, recursively."
|
||||
|
|
Loading…
Reference in a new issue