Update rules

On my Debian Stretch system `dpkg-buildpackage` returns errors about not being able to find `sanoid.timer`
This commit is contained in:
Gavin Chappell 2019-04-20 08:42:25 +01:00
parent 67ff4fed77
commit eef598c729
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ override_dh_auto_install:
@mkdir -p $(DESTDIR)/usr/share/doc/sanoid; \
cp sanoid.conf $(DESTDIR)/usr/share/doc/sanoid/sanoid.conf.example;
@mkdir -p $(DESTDIR)/lib/systemd/system; \
cp debian/sanoid-prune.service $(DESTDIR)/lib/systemd/system;
cp debian/sanoid-prune.service debian/sanoid.timer $(DESTDIR)/lib/systemd/system;
override_dh_installinit:
dh_installinit --noscripts