summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/games.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index d90e85de9e..5e8b7a6d0d 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -9807,7 +9807,9 @@ Skorl. Maybe it would be an idea to try and escape...")
(let ((unzip (search-input-file %build-inputs "/bin/unzip")))
(invoke unzip "-j" (assoc-ref %build-inputs "source")))
(let ((doc (string-append share "/doc/" ,name "-" ,version)))
- (install-file "readme.txt" doc))
+ (for-each (lambda (file)
+ (when (file-exists? file) (install-file file doc)))
+ '("readme.txt" "README" "README.md")))
(install-file "queen.1c" data)
(mkdir-p bin)
(let ((bash (assoc-ref %build-inputs "bash")))