From e1759d61afe63c67b702e97520099406f78005eb Mon Sep 17 00:00:00 2001 From: Daniel Prosser Date: Thu, 6 Apr 2017 10:32:56 +0700 Subject: [PATCH] system/password-store: Install bash-completion and update README. Signed-off-by: Willy Sudiarto Raharjo --- system/password-store/README | 4 ++-- system/password-store/password-store.SlackBuild | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/system/password-store/README b/system/password-store/README index 9d1f1944b3..a9c771db7b 100644 --- a/system/password-store/README +++ b/system/password-store/README @@ -2,8 +2,8 @@ password-store is a simple password manager which uses GnuPG to securely encrypt and retrieve passwords. By default, bash completion is installed as -/etc/bash_completion.d/password-store. Add 'source -/etc/bash_completion.d/password-store' to your .bashrc to enable it. +/usr/share/bash-completion/completions/pass. Add 'source +/usr/share/bash-completion/completions/pass' to your .bashrc to enable it. zsh and fish completion is also optionally included. uncomment the lines in the SlackBuild to include it in the package. diff --git a/system/password-store/password-store.SlackBuild b/system/password-store/password-store.SlackBuild index 52e889f8d4..eb9e4f6e4d 100644 --- a/system/password-store/password-store.SlackBuild +++ b/system/password-store/password-store.SlackBuild @@ -51,7 +51,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -make install MANDIR=/usr/man DESTDIR=$PKG +make install FORCE_BASHCOMP=1 MANDIR=/usr/man DESTDIR=$PKG # Adapted from the Makefile: # Uncomment the two lines below to install the zsh completion file.