gnu: font-comic-neue: Prevent hidden files from being installed.

* gnu/packages/fonts.scm (font-comic-neue)[arguments]: Add
'delete-macosx-files' phase.
master
Arun Isaac 2017-06-01 21:55:11 +05:30
parent 8c5ad44843
commit 44636f57bc
No known key found for this signature in database
GPG Key ID: 2E25EE8B61802BB3
1 changed files with 6 additions and 0 deletions

View File

@ -1093,6 +1093,12 @@ later hand-tweaked with the gbdfed(1) editor:
(arguments
`(#:phases
(modify-phases %standard-phases
;; Delete Mac OS X specific files. If not deleted, these cause
;; several hidden files to be installed.
(add-before 'install 'delete-macosx-files
(lambda _
(delete-file-recursively "__MACOSX")
#t))
(add-after 'install 'install-conf
(lambda* (#:key outputs #:allow-other-keys)
(let ((conf-dir (string-append (assoc-ref outputs "out")