Do not FTBFS when building the arch:all packages only
This commit is contained in:
parent
247c516a79
commit
e8aa8ec3ff
2 changed files with 6 additions and 6 deletions
2
debian/nut-client.install
vendored
2
debian/nut-client.install
vendored
|
@ -20,3 +20,5 @@ debian/tmp/usr/share/augeas/lenses/dist/nutupssetconf.aug
|
|||
debian/tmp/usr/share/augeas/lenses/dist/tests/test_nut.aug
|
||||
debian/tmp/usr/share/bash-completion/completions/nut
|
||||
debian/tmp/lib/systemd/system/nut-monitor.service
|
||||
debian/tmp/lib/systemd/system/nut-client.service
|
||||
debian/tmp/lib/systemd/system/ups-monitor.service
|
||||
|
|
10
debian/rules
vendored
10
debian/rules
vendored
|
@ -89,6 +89,10 @@ override_dh_auto_install-arch:
|
|||
install -m 0755 debian/local/upsmon $(CURDIR)/debian/tmp/sbin/upsmon
|
||||
install -m 0755 debian/local/upsd $(CURDIR)/debian/tmp/sbin/upsd
|
||||
|
||||
# Add a symlink to mask the LSB initscript
|
||||
ln -s nut-monitor.service $(CURDIR)/debian/tmp/lib/systemd/system/nut-client.service
|
||||
ln -s /dev/null $(CURDIR)/debian/tmp/lib/systemd/system/ups-monitor.service
|
||||
|
||||
override_dh_auto_install-indep:
|
||||
dh_auto_install -i
|
||||
|
||||
|
@ -106,12 +110,6 @@ override_dh_auto_install-indep:
|
|||
override_dh_installinit:
|
||||
dh_installinit --error-handler=handle_start_failure
|
||||
|
||||
override_dh_installsystemd:
|
||||
# Add a symlink to mask the LSB initscript
|
||||
ln -s nut-monitor.service $(CURDIR)/debian/nut-client/lib/systemd/system/nut-client.service
|
||||
ln -s /dev/null $(CURDIR)/debian/nut-client/lib/systemd/system/ups-monitor.service
|
||||
dh_installsystemd
|
||||
|
||||
override_dh_compress:
|
||||
dh_compress -X.pdf
|
||||
|
||||
|
|
Loading…
Reference in a new issue