Codebase list libvirt / 0b10e48
Install logrotate files again. This got broken by moving to separate build-dir. Based on a patch from Serge Hallyn. Closes: #647953 Guido Günther 12 years ago
2 changed file(s) with 7 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
103103 update-rc.d -f libvirt-bin remove >/dev/null
104104 fi
105105 fi
106
107 # Make sure the directories don't get removed on package removal since
108 # logrotate chokes otherwise.
109 for dir in qemu uml lxc; do
110 touch /var/log/libvirt/"${dir}"/.placeholder
111 done
106112 ;;
107113
108114 abort-upgrade|abort-remove|abort-deconfigure)
9191 dh_installinit --name=libvirt-guests --no-restart-on-upgrade -- defaults 29 71
9292
9393 for l in $(LOGROTATE); do \
94 cp $(CURDIR)/daemon/$$l.logrotate \
94 cp $(CURDIR)/debian/build/daemon/$$l.logrotate \
9595 debian/libvirt-bin.$$l.logrotate; \
9696 dh_installlogrotate --name=$$l; \
9797 done