Install Augeas lenses
This commit is contained in:
parent
39af1601d0
commit
bd91941eb2
3 changed files with 17 additions and 0 deletions
1
debian/changelog
vendored
1
debian/changelog
vendored
|
@ -2,6 +2,7 @@ nut (2.6.2-2) UNRELEASED; urgency=low
|
|||
|
||||
* debian/nut-server.{install,manpages}: add richcomm_usb
|
||||
* debian/nut-server.install, debian/rules: install Avahi service file
|
||||
* debian/rules, nut-client.install: install Augeas lenses
|
||||
|
||||
-- Arnaud Quette <aquette@debian.org> Thu, 03 Nov 2011 21:34:14 -0400
|
||||
|
||||
|
|
9
debian/nut-client.install
vendored
9
debian/nut-client.install
vendored
|
@ -8,3 +8,12 @@ debian/tmp/etc/bash_completion.d/nut
|
|||
debian/tmp/etc/nut/nut.conf
|
||||
debian/tmp/etc/nut/upsmon.conf
|
||||
debian/tmp/etc/nut/upssched.conf
|
||||
debian/tmp/usr/share/augeas/lenses/dist/nuthostsconf.aug
|
||||
debian/tmp/usr/share/augeas/lenses/dist/nutnutconf.aug
|
||||
debian/tmp/usr/share/augeas/lenses/dist/nutupsconf.aug
|
||||
debian/tmp/usr/share/augeas/lenses/dist/nutupsdconf.aug
|
||||
debian/tmp/usr/share/augeas/lenses/dist/nutupsdusers.aug
|
||||
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/nutupssetconf.aug
|
||||
debian/tmp/usr/share/augeas/lenses/dist/tests/test_nut.aug
|
||||
|
|
7
debian/rules
vendored
7
debian/rules
vendored
|
@ -48,6 +48,13 @@ common-install-arch::
|
|||
cp $(CURDIR)/scripts/avahi/nut.service \
|
||||
$(CURDIR)/debian/tmp/etc/avahi/services
|
||||
|
||||
# install Augeas lenses
|
||||
mkdir -p $(CURDIR)/debian/tmp/usr/share/augeas/lenses/dist/tests
|
||||
cp $(CURDIR)/scripts/augeas/*.aug \
|
||||
$(CURDIR)/debian/tmp/usr/share/augeas/lenses/dist/
|
||||
cp $(CURDIR)/scripts/augeas/tests/test_nut.aug \
|
||||
$(CURDIR)/debian/tmp/usr/share/augeas/lenses/dist/tests/
|
||||
|
||||
# install the default configuration
|
||||
for f in $(CURDIR)/debian/tmp/etc/nut/*; do \
|
||||
nf=`basename $${f} | sed 's/\(.*\).sample/\1/'`; \
|
||||
|
|
Loading…
Reference in a new issue