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
@ -1235,7 +1235,8 @@ play them on systems for which they were never designed!")
|
||||
(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 New Issue
Block a user