Divert /etc/conserver/console.cf in the right binary package.
[invirt/packages/invirt-console.git] / debian / rules
index eba9e2b..5117948 100755 (executable)
@@ -20,11 +20,15 @@ endif
 
 DEB_DIVERT_FILES_invirt-console-server += \
        /etc/conserver/conserver.cf.invirt \
+       /etc/conserver/console.cf.invirt \
        /etc/motd.invirt
 DEB_DIVERT_FILES_invirt-console-host += \
        /etc/conserver/conserver.cf.invirt \
-       /etc/conserver/console.cf.invirt \
        /etc/conserver/server.conf.invirt
 
+DEB_UNDIVERT_FILES_invirt-console-host += \
+       /etc/conserver/console.cf.invirt
+DEB_UNDIVERT_VERSION_/etc/conserver/console.cf.invirt = 0.2.15~
+
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/rules/config-package.mk