Move bash-completion file to /usr/share/bash-completion/

This commit is contained in:
Laurent Bigonville 2013-11-24 17:54:31 +01:00
parent 0389780de8
commit cbf85f6779
4 changed files with 6 additions and 4 deletions

3
debian/changelog vendored
View file

@ -11,8 +11,9 @@ nut (2.7.1-1) UNRELEASED; urgency=low
up-to three times, this should mitigate races with slow devices up-to three times, this should mitigate races with slow devices
(Closes: #694717) (Closes: #694717)
* debian/nut-server.install, debian/nut-server.manpages: Install new drivers * debian/nut-server.install, debian/nut-server.manpages: Install new drivers
* Move bash-completion file to /usr/share/bash-completion/
-- Laurent Bigonville <bigon@debian.org> Sun, 24 Nov 2013 17:10:44 +0100 -- Laurent Bigonville <bigon@debian.org> Sun, 24 Nov 2013 17:53:49 +0100
nut (2.6.5-4) unstable; urgency=low nut (2.6.5-4) unstable; urgency=low

View file

@ -5,7 +5,6 @@ debian/tmp/bin/upscmd
debian/tmp/sbin/upsmon debian/tmp/sbin/upsmon
debian/tmp/sbin/upssched debian/tmp/sbin/upssched
debian/tmp/bin/upssched-cmd debian/tmp/bin/upssched-cmd
debian/tmp/etc/bash_completion.d/nut
debian/tmp/etc/nut/nut.conf debian/tmp/etc/nut/nut.conf
debian/tmp/etc/nut/upsmon.conf debian/tmp/etc/nut/upsmon.conf
debian/tmp/etc/nut/upssched.conf debian/tmp/etc/nut/upssched.conf
@ -18,3 +17,4 @@ debian/tmp/usr/share/augeas/lenses/dist/nutupsmonconf.aug
debian/tmp/usr/share/augeas/lenses/dist/nutupsschedconf.aug debian/tmp/usr/share/augeas/lenses/dist/nutupsschedconf.aug
debian/tmp/usr/share/augeas/lenses/dist/nutupssetconf.aug debian/tmp/usr/share/augeas/lenses/dist/nutupssetconf.aug
debian/tmp/usr/share/augeas/lenses/dist/tests/test_nut.aug debian/tmp/usr/share/augeas/lenses/dist/tests/test_nut.aug
debian/tmp/usr/share/bash-completion/completions/nut

1
debian/nut-client.maintscript vendored Normal file
View file

@ -0,0 +1 @@
rm_conffile /etc/bash_completion.d/nut 2.7.1-1~

4
debian/rules vendored
View file

@ -40,9 +40,9 @@ endif
common-install-arch:: common-install-arch::
# install the bash completion script # install the bash completion script
mkdir -p $(CURDIR)/debian/tmp/etc/bash_completion.d mkdir -p $(CURDIR)/debian/tmp/usr/share/bash-completion/completions/
cp $(CURDIR)/scripts/misc/nut.bash_completion \ cp $(CURDIR)/scripts/misc/nut.bash_completion \
$(CURDIR)/debian/tmp/etc/bash_completion.d/nut $(CURDIR)/debian/tmp/usr/share/bash-completion/completions/nut
# install the avahi service file # install the avahi service file
mkdir -p $(CURDIR)/debian/tmp/etc/avahi/services mkdir -p $(CURDIR)/debian/tmp/etc/avahi/services