From: Andrew Ruthven <andrew@rt.etc.gen.nz>
Date: Mon, 18 May 2009 23:08:40 +0000 (+1200)
Subject: Ship the initialdata file and instructions on how to run it.
X-Git-Tag: debian/2.05-2~5
X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=538d634298434b16a57414d5393820cf7dbf8477;p=RT-Extension-ExtractCustomFieldValues.git

Ship the initialdata file and instructions on how to run it.
---

diff --git a/debian/README b/debian/README
new file mode 100644
index 0000000..322d779
--- /dev/null
+++ b/debian/README
@@ -0,0 +1,6 @@
+You must run the following command to prepare the database for this
+extension:
+
+/usr/sbin/rt-setup-database --action insert \
+--datadir /usr/share/rt-extension-extractcustomfieldvalues-perl/etc \
+--datafile /usr/share/rt-extension-extractcustomfieldvalues-perl/etc/initialdata
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..fc8656f
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+etc/initialdata /usr/share/rt-extension-extractcustomfieldvalues-perl/etc
diff --git a/debian/rules b/debian/rules
index 13dccbb..97e1af7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -49,6 +49,7 @@ binary-arch:
 binary-indep: build install
 	dh_testdir
 	dh_testroot
+  dh_install
 	dh_installdocs README
 	dh_installchangelogs Changes
 	dh_perl