summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraingloom <raingloom@riseup.net>2022-07-16 14:21:26 +0200
committerGuix Patches Tester <>2022-07-16 13:26:27 +0100
commit0f29fbce7fa9512e05287fe1c4239ea8bbabb826 (patch)
tree67b80cd23dfebac8e7cbe2e27053a9c3af9c5cba
parent8bfc8ffb82ce80b8d069c1408cf89198935b7e58 (diff)
downloadguix-patches-0f29fbce7fa9512e05287fe1c4239ea8bbabb826.tar
guix-patches-0f29fbce7fa9512e05287fe1c4239ea8bbabb826.tar.gz
gnu: fortune-mod: Remove off database.
* gnu/packages/games.scm (fortune-mod): Delete off database after install phase.
-rw-r--r--gnu/packages/games.scm5
1 files changed, 4 insertions, 1 deletions
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 @@ original.")
(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