summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Robby Workman <rworkman@slackbuilds.org>2021-08-01 03:46:08 -0500
committer Robby Workman <rworkman@slackbuilds.org>2021-08-01 04:20:55 -0500
commitf6ff6365ff975d6829d6ed2c4ea3abde3943256a (patch)
tree7e759ad74bbf4de30d1f6a667b9cb4a68dda5ae6
parentacd695459de33dc38c7b2bbc2d2bed503df57816 (diff)
downloadslackbuilds-f6ff6365ff975d6829d6ed2c4ea3abde3943256a.tar.gz
slackbuilds-f6ff6365ff975d6829d6ed2c4ea3abde3943256a.tar.xz
system/nut: Install bash-completion file to systemwide dir
-rw-r--r--system/nut/nut.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/nut/nut.SlackBuild b/system/nut/nut.SlackBuild
index 5479837561..5fcf4359ab 100644
--- a/system/nut/nut.SlackBuild
+++ b/system/nut/nut.SlackBuild
@@ -130,8 +130,8 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
# Install the bash_completion script
-install -d $PKG/etc/bash_completion.d
-install -m 755 scripts/misc/nut.bash_completion $PKG/etc/bash_completion.d/nut
+install -d $PKG/usr/share/bash-completion/completions
+install -m 755 scripts/misc/nut.bash_completion $PKG/usr/share/bash-completion/completions/nut
# Install the startup script
install -d $PKG/etc/rc.d