Fix the port number of postgres.conf, because the chroot will choose a
[invirt/packages/invirt-database.git] / debian / rules
index 7ad2c34..f707006 100755 (executable)
@@ -1,8 +1,12 @@
 #!/usr/bin/make -f
 
-DEB_AUTO_UPDATE_DEBIAN_CONTROL = 1
+DEB_DIVERT_EXTENSION = .invirt
 
-DEB_PYTHON_SYSTEM=pysupport
+DEB_TRANSFORM_FILES_invirt-database-server += \
+       /etc/postgresql/8.3/main/postgresql.conf.invirt
+
+DEB_DIVERT_FILES_invirt-database-server += \
+       /etc/init.d/postgresql-8.3.invirt
 
 include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/python-distutils.mk
+include /usr/share/cdbs/1/rules/config-package.mk