From f6ff6365ff975d6829d6ed2c4ea3abde3943256a Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Sun, 1 Aug 2021 03:46:08 -0500 Subject: system/nut: Install bash-completion file to systemwide dir --- system/nut/nut.SlackBuild | 4 ++-- 1 file 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 -- cgit v1.2.3