[med-svn] [qcumber] 04/05: No questions in debconf template; fix postinst

Andreas Tille tille at debian.org
Tue Nov 29 09:34:41 UTC 2016


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository qcumber.

commit c4416d8cffaf7d4c70549f1716f88de940db10a8
Author: Andreas Tille <tille at debian.org>
Date:   Mon Nov 28 17:56:46 2016 +0100

    No questions in debconf template; fix postinst
---
 debian/po/de.po         | 15 ++++++++-------
 debian/po/templates.pot |  8 ++++----
 debian/postinst         |  2 +-
 debian/templates        |  6 +++---
 4 files changed, 16 insertions(+), 15 deletions(-)

diff --git a/debian/po/de.po b/debian/po/de.po
index a492884..339c517 100644
--- a/debian/po/de.po
+++ b/debian/po/de.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: qcumber\n"
 "Report-Msgid-Bugs-To: qcumber at packages.debian.org\n"
-"POT-Creation-Date: 2016-11-28 17:15+0100\n"
+"POT-Creation-Date: 2016-11-28 17:54+0100\n"
 "PO-Revision-Date: 2016-11-28 17:02+0100\n"
 "Last-Translator: Andreas Tille <tille at debian.org\n"
 "Language-Team: Debian German <debian-l10n-german at lists.debian.org>\n"
@@ -30,14 +30,15 @@ msgid ""
 "creating the database which requires a lot of computing power there is the "
 "option to download this database (see https://ccb.jhu.edu/software/"
 "kraken/).  If you want to run QCumber the directory of the kraken database "
-"needs to be known to the program.  In which directory is the database "
-"installed or should the database installed by the script /usr/share/doc/"
-"qcumber/get-minikrakendb?"
+"needs to be known to the program.  Please input the directory the database "
+"is installed or should the database be installed by the script /usr/share/"
+"doc/qcumber/get-minikrakendb."
 msgstr ""
 "QCumber benutzt kraken, das eine Datenbank benötigt.  Um den Prozess des "
 "Erzeugens der Datenbank, der eine erhebliche Rechenleistung benötigt, zu "
 "vereinfachen, besteht die Möglichkeit diese Datenbank herunterzuladen (siehe "
 "https://ccb.jhu.edu/software/kraken/ .)  Um QCumber zu benutzen, muß das "
-"Verzeichnis der minikraken Datenbank bekannt sein.  In welchem Verzeichnis "
-"ist die Datenbank installiert oder soll die Datenbank mit Hilfe des Scripts "
-"/usr/share/doc/qcumber/get-minikrakendb installiert werden?"
+"Verzeichnis der minikraken Datenbank bekannt sein.  Bitte geben Sie das "
+"Verzeichnis ein, in dem die Datenbank installiert ist oder in das die "
+"Datenbank mit Hilfe des Scripts /usr/share/doc/qcumber/get-minikrakendb "
+"installiert werden soll."
diff --git a/debian/po/templates.pot b/debian/po/templates.pot
index 6bd674d..dc22431 100644
--- a/debian/po/templates.pot
+++ b/debian/po/templates.pot
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: qcumber\n"
 "Report-Msgid-Bugs-To: qcumber at packages.debian.org\n"
-"POT-Creation-Date: 2016-11-28 17:15+0100\n"
+"POT-Creation-Date: 2016-11-28 17:54+0100\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <LL at li.org>\n"
@@ -31,7 +31,7 @@ msgid ""
 "creating the database which requires a lot of computing power there is the "
 "option to download this database (see https://ccb.jhu.edu/software/"
 "kraken/).  If you want to run QCumber the directory of the kraken database "
-"needs to be known to the program.  In which directory is the database "
-"installed or should the database installed by the script /usr/share/doc/"
-"qcumber/get-minikrakendb?"
+"needs to be known to the program.  Please input the directory the database "
+"is installed or should the database be installed by the script /usr/share/"
+"doc/qcumber/get-minikrakendb."
 msgstr ""
diff --git a/debian/postinst b/debian/postinst
index 4aa48e7..3cd67de 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -16,7 +16,7 @@ if [ "$DEFAULTKRAKENDB" = "" ] ; then
 else
     # check whether configfile has the same dir as the user has input in config step
     if ! grep -q "^kraken_db *= *$DEFAULTKRAKENDB *$" $conffile ; then
-        sed -i "s/^\(kraken_db *=\) *.*$/\1 $DEFAULTKRAKENDB" $conffile
+        sed -i "s:^\(kraken_db *=\) *.*$:\1 $DEFAULTKRAKENDB:" $conffile
     fi
 fi
 
diff --git a/debian/templates b/debian/templates
index f160f88..9e25df6 100644
--- a/debian/templates
+++ b/debian/templates
@@ -6,6 +6,6 @@ _Description: Installation directory of the minikraken database
  of creating the database which requires a lot of computing power there is
  the option to download this database (see
  https://ccb.jhu.edu/software/kraken/).  If you want to run QCumber the
- directory of the kraken database needs to be known to the program.  In which
- directory is the database installed or should the database installed by the
- script /usr/share/doc/qcumber/get-minikrakendb?
+ directory of the kraken database needs to be known to the program.  Please
+ input the directory the database is installed or should the database be
+ installed by the script /usr/share/doc/qcumber/get-minikrakendb.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/qcumber.git



More information about the debian-med-commit mailing list