aboutsummaryrefslogtreecommitdiff
path: root/system/password-store
diff options
context:
space:
mode:
authorDaniel Prosser <dpross1100@msn.com>2017-04-06 10:32:56 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-06 21:03:19 +0700
commite1759d61afe63c67b702e97520099406f78005eb (patch)
tree612e704288813d5c6b6aede79e553e741da08788 /system/password-store
parent3d362d4a1a22f14e04d020352710321d04090c8d (diff)
system/password-store: Install bash-completion and update README.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/password-store')
-rw-r--r--system/password-store/README4
-rw-r--r--system/password-store/password-store.SlackBuild2
2 files changed, 3 insertions, 3 deletions
diff --git a/system/password-store/README b/system/password-store/README
index 9d1f1944b3490..a9c771db7b8fe 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 52e889f8d4b37..eb9e4f6e4dbd1 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.