all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: raingloom <raingloom@riseup.net>
To: 56599@debbugs.gnu.org
Cc: 54691@debbugs.gnu.org, raingloom <raingloom@riseup.net>
Subject: [bug#56599] [PATCH] gnu: fortune-mod: Remove off database.
Date: Sat, 16 Jul 2022 14:21:26 +0200	[thread overview]
Message-ID: <20220716122126.26328-1-raingloom@riseup.net> (raw)

* gnu/packages/games.scm (fortune-mod): Delete off database after install phase.
---
 gnu/packages/games.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 713f9339b2..cf10ebc9b6 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -7721,7 +7721,10 @@ (define-public fortune-mod
                  (lambda _
                    (with-directory-excursion #$output
                      (rename-file "games/fortune" "bin/fortune")
-                     (rmdir "games")))))))
+                     (rmdir "games"))))
+               (add-after 'install 'commit-censorship
+                 (lambda* (#:key outputs #:allow-other-keys)
+                   (delete-file-recursively (string-append (assoc-ref outputs "out") "/share/fortunes/off/")))))))
     (inputs (list recode))
     (native-inputs
      (list perl
-- 
2.37.0





             reply	other threads:[~2022-07-16 12:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-16 12:21 raingloom [this message]
2022-07-16 13:32 ` bug#54691: [PATCH] gnu: fortune-mod: Remove off database Liliana Marie Prikler
2022-07-16 13:40   ` Csepp
2022-07-16 13:46     ` Liliana Marie Prikler
2022-07-17 13:05       ` Csepp
2022-08-03 15:02 ` [bug#56599] " kiasoc5 via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220716122126.26328-1-raingloom@riseup.net \
    --to=raingloom@riseup.net \
    --cc=54691@debbugs.gnu.org \
    --cc=56599@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.