From a090abaecabf1d969de7cf74bd1eb866304cedf8 Mon Sep 17 00:00:00 2001
From: Yaroslav Halchenko <debian@onerussian.com>
Date: Fri, 8 Aug 2014 15:23:55 -0400
Subject: [PATCH] more fixups of screw ups etc

---
 debian/neurodebian-dev.lintian-overrides   |  2 ++
 debian/neurodebian-devel.lintian-overrides |  2 --
 debian/neurodebian.manpages                |  2 +-
 debian/po/templates.pot                    | 14 +++++++-------
 debian/rules                               |  1 +
 5 files changed, 11 insertions(+), 10 deletions(-)
 create mode 100644 debian/neurodebian-dev.lintian-overrides
 delete mode 100644 debian/neurodebian-devel.lintian-overrides

diff --git a/debian/neurodebian-dev.lintian-overrides b/debian/neurodebian-dev.lintian-overrides
new file mode 100644
index 0000000..1e59969
--- /dev/null
+++ b/debian/neurodebian-dev.lintian-overrides
@@ -0,0 +1,2 @@
+# we do not provide manpages for the devel scripts yet
+neurodebian-dev binary: binary-without-manpage usr/bin/nd_*
diff --git a/debian/neurodebian-devel.lintian-overrides b/debian/neurodebian-devel.lintian-overrides
deleted file mode 100644
index 3e0ccf7..0000000
--- a/debian/neurodebian-devel.lintian-overrides
+++ /dev/null
@@ -1,2 +0,0 @@
-# we do not provide manpages for the devel scripts yet
-neurodebian-devel binary: binary-without-manpage usr/bin/nd_*
diff --git a/debian/neurodebian.manpages b/debian/neurodebian.manpages
index 0e6ca74..efcc365 100644
--- a/debian/neurodebian.manpages
+++ b/debian/neurodebian.manpages
@@ -1 +1 @@
-build/man/nd-autoinstall.1
+build/man/nd-configurerepo.1
diff --git a/debian/po/templates.pot b/debian/po/templates.pot
index e599b65..9de6170 100644
--- a/debian/po/templates.pot
+++ b/debian/po/templates.pot
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: neurodebian\n"
 "Report-Msgid-Bugs-To: neurodebian@packages.debian.org\n"
-"POT-Creation-Date: 2014-08-08 14:33-0400\n"
+"POT-Creation-Date: 2014-08-08 15:23-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -105,7 +105,7 @@ msgstr ""
 #. Type: multiselect
 #. Description
 #: ../neurodebian.templates:5001
-msgid "Select NeuroDebian repository components to enable"
+msgid "NeuroDebian repository components to enable:"
 msgstr ""
 
 #. Type: multiselect
@@ -147,7 +147,7 @@ msgstr ""
 #. Type: string
 #. Description
 #: ../neurodebian.templates:7001
-msgid "Additional suffix to use in the NeuroDebian APT file name:"
+msgid "Additional suffix for the NeuroDebian APT file name:"
 msgstr ""
 
 #. Type: string
@@ -156,13 +156,13 @@ msgstr ""
 msgid ""
 "For instance if you would like to enable additional repository (e.g. "
 "NeuroDebian devel) or release, without interfering with the main/default "
-"configuration file."
+"configuration file.  Generally should be left empty."
 msgstr ""
 
 #. Type: note
 #. Description
 #: ../neurodebian.templates:8001
-msgid "Upon completion of installation invoke update in your APT frontend."
+msgid "APT list of packages needs to be updated."
 msgstr ""
 
 #. Type: note
@@ -170,8 +170,8 @@ msgstr ""
 #: ../neurodebian.templates:8001
 msgid ""
 "For the installed NeuroDebian APT configuration to take an effect, list of "
-"packages needs to be updated.  This needs to be done \"manually\" (e.g. apt-"
-"get update) upon completion of installation of the neurodebian package."
+"packages needs to be updated.  This needs to be done \"manually\" (e.g., via "
+"apt-get update) upon completion of installation of the neurodebian package."
 msgstr ""
 
 #. Type: error
diff --git a/debian/rules b/debian/rules
index b26f980..3a3d80a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -35,5 +35,6 @@ override_dh_auto_install::
 override_dh_auto_test::
 
 override_dh_clean:
+	debconf-updatepo
 	dh_clean
 	$(MAKE) -C artwork clean
-- 
2.39.5