Compare commits

...

2 Commits

Author SHA1 Message Date
Christoph Klaffl b03a0ce3d6
Merge 4d39e39217 into 2259625b08 2024-09-26 21:51:42 +02:00
Christoph Klaffl 4d39e39217
fix debian packaging with debian 12 and ubuntu 24.04 2024-06-03 23:46:54 +02:00
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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