summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2021-11-07 22:03:39 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2021-11-07 22:52:42 +0100
commit55bef80580c391677c22fb1eeed14a8bf86a223f (patch)
treeba791b8a2afa9fc6c2abe238c21e9c8aed7fe0d4 /gnu/packages
parent153d9bca7231ae0e7d19ac090e5c53ff588b388a (diff)
gnu: dvdisaster: Remove uninstallation script.
* gnu/packages/cdrom.scm (dvdisaster)[arguments]: Add a new 'remove-uninstall-script phase.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/cdrom.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm
index 3a7e7b0e3b..717d59f0e9 100644
--- a/gnu/packages/cdrom.scm
+++ b/gnu/packages/cdrom.scm
@@ -465,7 +465,12 @@ or @command{xorrisofs} to create ISO 9660 images.")
(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