gnu: dvdisaster: Remove uninstallation script.

* gnu/packages/cdrom.scm (dvdisaster)[arguments]: Add a new
'remove-uninstall-script phase.
This commit is contained in:
Tobias Geerinckx-Rice 2021-11-07 22:03:39 +01:00
parent 153d9bca72
commit 55bef80580
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -465,7 +465,12 @@ (define-public dvdisaster
(find-files "contrib" "dvdisaster[0-9]*\\.png"))
(mkdir-p (string-append datadir "/pixmaps"))
(copy-file "contrib/dvdisaster48.xpm"
(string-append datadir "/pixmaps/dvdisaster.xpm"))))))))
(string-append datadir "/pixmaps/dvdisaster.xpm")))))
(add-after 'install 'remove-uninstall-script
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")))
(delete-file
(string-append out "/bin/dvdisaster-uninstall.sh"))))))))
(home-page "https://dvdisaster.jcea.es/")
(synopsis "Error correcting codes for optical media images")
(description "Optical media (CD,DVD,BD) keep their data only for a