bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#54691: [PATCH] gnu: fortune-mod: Remove off database.


From: raingloom
Subject: bug#54691: [PATCH] gnu: fortune-mod: Remove off database.
Date: Sat, 16 Jul 2022 14:21:26 +0200

* 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 via email to

[Prev in Thread] Current Thread [Next in Thread]