guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/14: gnu: password-store: Fix program name in usage and tmpdir.


From: guix-commits
Subject: 06/14: gnu: password-store: Fix program name in usage and tmpdir.
Date: Sat, 1 Jul 2023 05:15:14 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit 14d4ff6cae0fcb4d3a7267c5f578e02da85c64de
Author: Tobias Kortkamp <tobias.kortkamp@gmail.com>
AuthorDate: Mon May 22 09:44:47 2023 +0200

    gnu: password-store: Fix program name in usage and tmpdir.
    
    * gnu/packages/password-utils.scm (password-store): Fix program name in
    usage and tmpdir.
    
    Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
 gnu/packages/password-utils.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index db22f257f1..897f5b1bdd 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -618,6 +618,12 @@ any X11 window.")
                                  "${PASSWORD_STORE_SYSTEM_EXTENSION_DIR:-"
                                  extension-dir
                                  "}\"\n"))))))
+         (add-before 'install 'patch-program-name
+           ;; Use pass not .pass-real in tmpdir and cmd_usage
+           (lambda _
+             (substitute* "src/password-store.sh"
+               (("^PROGRAM=.*$")
+                "PROGRAM=\"pass\"\n"))))
          (add-before 'install 'patch-passmenu-path
            ;; FIXME Wayland support requires ydotool and dmenu-wl packages
            ;; We are ignoring part of the script that gets executed if



reply via email to

[Prev in Thread] Current Thread [Next in Thread]