3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

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>
This commit is contained in:
Tobias Kortkamp 2023-05-22 09:44:47 +02:00 committed by Nicolas Goaziou
parent 244baa607d
commit 14d4ff6cae
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -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