gnu: mame: Fix renaming executable.

* gnu/packages/emulators.scm (mame)[arguments]: Only rename 'mame64' to
'mame' when 'mame64' exists.
master
Efraim Flashner 2018-06-12 19:08:32 +03:00
parent a9e7d6564b
commit 6921e95ae8
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 2 additions and 1 deletions

View File

@ -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