Handle new prodconfig schema
[invirt/packages/invirt-xen-config.git] / debian / rules
index e0fde75..cb20bf8 100755 (executable)
@@ -4,9 +4,13 @@ DEB_DIVERT_EXTENSION = .invirt
 
 DEB_DIVERT_FILES_invirt-xen-config += \
        /etc/xen/qemu-ifup.invirt \
-       /etc/xen/xend-config.sxp.invirt \
+       /etc/xen/xend-config.sxp.invirt
+
+DEB_UNDIVERT_FILES_invirt-xen-config += \
        /etc/apt/preferences.invirt
 
+DEB_UNDIVERT_VERSION_/etc/apt/preferences.invirt = 0.0.27~
+
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/rules/config-package.mk