[bug#61294,3/3] gnu: imv: Record absolute file name of 'imv' script.
Commit Message
* gnu/packages/image-viewers.scm (imv)[arguments]: Also fix the 'imv-dir'
script in the 'record-absolute-file-names phase.
---
gnu/packages/image-viewers.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
@@ -767,10 +767,12 @@ (define-public imv
(add-after 'install 'record-absolute-file-names
(lambda _
;; 'imv' is a script that execs 'imv-x11' or 'imv-wayland'.
- ;; Record their absolute file name.
+ ;; 'imv-dir' execs 'imv'. Record their absolute file names.
(let ((bin (string-append #$output "/bin")))
(substitute* (string-append bin "/imv")
- (("imv-") (string-append bin "/imv-")))))))))
+ (("imv-") (string-append bin "/imv-")))
+ (substitute* (string-append bin "/imv-dir")
+ (("imv") (string-append bin "/imv")))))))))
(native-inputs
(list asciidoc
pkg-config))