summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
author Robby Workman <rworkman@slackbuilds.org>2021-08-01 04:13:09 -0500
committer Robby Workman <rworkman@slackbuilds.org>2021-08-01 04:20:56 -0500
commita392e42607073867c964abae35cd7bba075bac45 (patch)
treeddfebf20c975e493b8dc457dbf4b5e788f450018 /graphics
parentd22c4fb5fb11fe3d9e7e554e44a9bd6e8bdf0628 (diff)
downloadslackbuilds-a392e42607073867c964abae35cd7bba075bac45.tar.gz
slackbuilds-a392e42607073867c964abae35cd7bba075bac45.tar.xz
graphics/imgp: Use systemwide dir for bash completion files
Diffstat (limited to 'graphics')
-rw-r--r--graphics/imgp/imgp.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/imgp/imgp.SlackBuild b/graphics/imgp/imgp.SlackBuild
index 328bce3a51..9069291f41 100644
--- a/graphics/imgp/imgp.SlackBuild
+++ b/graphics/imgp/imgp.SlackBuild
@@ -88,9 +88,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# Install bash completion file
-mkdir -p $PKG/etc/bash_completion.d
-install -D -m0744 auto-completion/bash/${PRGNAM}-completion.bash \
- $PKG/etc/bash_completion.d/${PRGNAM}-completion.bash
+mkdir -p $PKG/usr/share/bash-completion/completions
+install -D -m0644 auto-completion/bash/${PRGNAM}-completion.bash \
+ $PKG/usr/share/bash-completion/completions/$PRGNAM
# Install zsh completion file
mkdir -p $PKG/usr/share/site-functions