mirror of https://github.com/jimsalterjrs/sanoid
Compare commits
2 Commits
97428119fd
...
b03a0ce3d6
| Author | SHA1 | Date |
|---|---|---|
|
|
b03a0ce3d6 | |
|
|
4d39e39217 |
|
|
@ -2,3 +2,5 @@
|
|||
|
||||
# remove old cache file
|
||||
[ -f /var/cache/sanoidsnapshots.txt ] && rm /var/cache/sanoidsnapshots.txt || true
|
||||
[ -f /var/cache/sanoid/snapshots.txt ] && rm /var/cache/sanoid/snapshots.txt || true
|
||||
[ -f /var/cache/sanoid/datasets.txt ] && rm /var/cache/sanoid/datasets.txt || true
|
||||
|
|
|
|||
|
|
@ -12,10 +12,6 @@ override_dh_auto_install:
|
|||
install -d $(DESTDIR)/etc/sanoid
|
||||
install -m 664 sanoid.defaults.conf $(DESTDIR)/etc/sanoid
|
||||
|
||||
install -d $(DESTDIR)/lib/systemd/system
|
||||
install -m 664 debian/sanoid-prune.service debian/sanoid.timer \
|
||||
$(DESTDIR)/lib/systemd/system
|
||||
|
||||
install -d $(DESTDIR)/usr/sbin
|
||||
install -m 775 \
|
||||
findoid sanoid sleepymutex syncoid \
|
||||
|
|
@ -25,6 +21,8 @@ override_dh_auto_install:
|
|||
install -m 664 sanoid.conf \
|
||||
$(DESTDIR)/usr/share/doc/sanoid/sanoid.conf.example
|
||||
|
||||
dh_installsystemd --name sanoid-prune
|
||||
|
||||
override_dh_installinit:
|
||||
dh_installinit --noscripts
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue