me
/
guix
Archived
1
0
Fork 0

gnu: netpbm: Delete files natively.

* gnu/packages/netpbm.scm (netpbm)[arguments]: Delete files with
DELETE-FILE-RECURSIVELY instead of invoking ‘rm’.
master
Tobias Geerinckx-Rice 2020-04-01 19:04:32 +02:00
parent 079ffbcfaf
commit 475d5d8d15
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 3 additions and 5 deletions

View File

@ -171,12 +171,10 @@
(apply invoke "make" "package" (apply invoke "make" "package"
(string-append "pkgdir=" out) make-flags) (string-append "pkgdir=" out) make-flags)
;; Remove superfluous files. ;; Remove superfluous files.
(invoke "rm" "-r" (string-append out "/link"))
(invoke "rm" "-r" (string-append out "/misc"))
(with-directory-excursion out (with-directory-excursion out
(for-each delete-file (for-each delete-file-recursively
'("config_template" "pkginfo" "README" '("config_template" "pkginfo" "README" "VERSION"
"VERSION"))) "link/" "misc/")))
#t)))))) #t))))))
(synopsis "Toolkit for manipulation of images") (synopsis "Toolkit for manipulation of images")
(description (description