summary refs log tree commit diff
path: root/gnu/packages/dictionaries.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-01-26 14:47:48 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-01-26 14:47:48 +0100
commit7f46dcc49cc33e2168da1ec4d52c552c3546dd67 (patch)
treedc65c11b84dc69ae6f308e013332504e98442fc5 /gnu/packages/dictionaries.scm
parentc9e75159706368be7b0b9d8a8fe33dc2786e37a7 (diff)
downloadguix-7f46dcc49cc33e2168da1ec4d52c552c3546dd67.tar.gz
gnu: ding: Use INVOKE.
* gnu/packages/dictionaries.scm (ding)[arguments]: Use INVOKE.
Diffstat (limited to 'gnu/packages/dictionaries.scm')
-rw-r--r--gnu/packages/dictionaries.scm6
1 files changed, 2 insertions, 4 deletions
diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm
index 9e06ac7124..8c39453650 100644
--- a/gnu/packages/dictionaries.scm
+++ b/gnu/packages/dictionaries.scm
@@ -176,8 +176,7 @@ work, such as sentence length and other readability measures.")
          (delete 'configure)
          (delete 'build)
          (delete 'check)
-         (replace
-             'install
+         (replace 'install
            (lambda _
              (let ((bindir (string-append
                             (assoc-ref %outputs "out") "/bin"))
@@ -209,8 +208,7 @@ work, such as sentence length and other readability measures.")
                   (string-append "DEFLIBDIR=\"" libdir "\"")))
                (install-file "ding.desktop" sharedir)
                (install-file "ding.png" sharedir)
-               (zero?
-                (system* "./install.sh"))))))))
+               (invoke "./install.sh")))))))
     (synopsis "Dictionary lookup program with a German-English dictionary")
     (description "Ding is a dictionary lookup program for the X window system.
 It comes with a German-English dictionary with approximately 270,000 entries.")