mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 06:06:53 -05:00
gnu: mame: Fix renaming executable.
* gnu/packages/emulators.scm (mame)[arguments]: Only rename 'mame64' to 'mame' when 'mame64' exists.
This commit is contained in:
parent
a9e7d6564b
commit
6921e95ae8
1 changed files with 2 additions and 1 deletions
|
@ -1235,7 +1235,8 @@ (define-public mame
|
|||
(find-files "keymaps" ".*LINUX\\.map")))
|
||||
(let ((fonts (string-append share "/fonts")))
|
||||
(install-file "uismall.bdf" fonts))
|
||||
(rename-file "mame64" "mame")
|
||||
(when (file-exists? "mame64")
|
||||
(rename-file "mame64" "mame"))
|
||||
(install-file "mame" (string-append out "/bin")))
|
||||
#t))
|
||||
(add-after 'install 'install-documentation
|
||||
|
|
Loading…
Reference in a new issue