Subject: [bug#49729] [PATCH core-updates 04/20] gnu: cups-minimal: Remove obsolete phase.

From: Sarah Morgensen <[email-masked]>
Date: Mon, 26 Jul 2021 19:56:33 -0700

* gnu/packages/cups.scm (cups-minimal)[arguments]<#:phases>: Remove
'make-manpages-writable phase.
---
 gnu/packages/cups.scm | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm
index 0cec211b1b..8357bab50f 100644
--- a/gnu/packages/cups.scm
+++ b/gnu/packages/cups.scm
@@ -311,15 +311,6 @@ filters for the PDF-centric printing workflow introduced by OpenPrinting.")
                (("INITDIR.*=.*@INITDIR@") "INITDIR = @prefix@/@INITDIR@")
                (("/bin/sh") (which "sh")))
              #t))
-         ;; Make the compressed manpages writable so that the
-         ;; reset-gzip-timestamps phase does not error out.
-         (add-before 'reset-gzip-timestamps 'make-manpages-writable
-           (lambda* (#:key outputs #:allow-other-keys)
-             (let* ((out (assoc-ref outputs "out"))
-                    (man (string-append out "/share/man")))
-               (for-each (lambda (file) (chmod file #o644))
-                         (find-files man "\\.gz"))
-               #t)))
          (add-before 'build 'patch-tests
            (lambda _
              (substitute* "tools/ippeveprinter.c"
-- 
2.31.1