[med-svn] r5348 - in trunk/packages/openmrs/trunk/debian: . po

Misha Koshelev misha680-guest at alioth.debian.org
Tue Oct 12 20:58:42 UTC 2010


Author: misha680-guest
Date: 2010-10-12 20:58:41 +0000 (Tue, 12 Oct 2010)
New Revision: 5348

Modified:
   trunk/packages/openmrs/trunk/debian/config
   trunk/packages/openmrs/trunk/debian/po/de.po
   trunk/packages/openmrs/trunk/debian/po/templates.pot
   trunk/packages/openmrs/trunk/debian/templates
Log:
add database setup instructions as debconf per discussion on http://old.nabble.com/User-output-(_not_-prompting)-vs-prompting-in-postinst-scripts-ts29936859.html - will require translation :( 

Modified: trunk/packages/openmrs/trunk/debian/config
===================================================================
--- trunk/packages/openmrs/trunk/debian/config	2010-10-11 22:51:40 UTC (rev 5347)
+++ trunk/packages/openmrs/trunk/debian/config	2010-10-12 20:58:41 UTC (rev 5348)
@@ -5,6 +5,10 @@
 
 . /usr/share/debconf/confmodule
 
+# show user database setup instructions
+db_input high openmrs/database-setup-instructions || true
+db_go || true
+
 # try to load from configuration file
 # default is _not_ to purge
 db_set openmrs/remove-data-on-purge false

Modified: trunk/packages/openmrs/trunk/debian/po/de.po
===================================================================
--- trunk/packages/openmrs/trunk/debian/po/de.po	2010-10-11 22:51:40 UTC (rev 5347)
+++ trunk/packages/openmrs/trunk/debian/po/de.po	2010-10-12 20:58:41 UTC (rev 5348)
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: openmrs, 1.6.1\n"
 "Report-Msgid-Bugs-To: openmrs at packages.debian.org\n"
-"POT-Creation-Date: 2010-10-09 08:59-0500\n"
+"POT-Creation-Date: 2010-10-12 11:57-0500\n"
 "PO-Revision-Date: 2010-10-08 13:13+2000\n"
 "Last-Translator: Andreas Tille <tille at debian.org>\n"
 "Language-Team: LANGUAGE <LL at li.org>\n"
@@ -16,20 +16,34 @@
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 
+#. Type: note
+#. Description
+#: ../templates:1001
+msgid "Please go to http://localhost:8080/openmrs to complete the setup."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../templates:1001
+msgid ""
+"This step will allow you to create the databases necessary for OpenMRS to "
+"function."
+msgstr ""
+
 #. Type: boolean
 #. Description
-#: ../templates:1001
+#: ../templates:2001
 msgid "Remove local OpenMRS database on package purge?"
 msgstr ""
-"Löschen der lokalen OpenMRS Datenbank, wenn das openmrs Paket "
-"mittels purge entfernt wird?"
+"Löschen der lokalen OpenMRS Datenbank, wenn das openmrs Paket mittels purge "
+"entfernt wird?"
 
 #. Type: boolean
 #. Description
-#: ../templates:1001
+#: ../templates:2001
 msgid ""
 "Attention, enabling this option will result in LOSS OF ALL DATA if the "
 "package is purged."
 msgstr ""
-"Achtung, das Bejahen der Frage hat einen TOTALEN VERLUST ALLER DATEN "
-"zur Folge, sollte das Paket mittels purge entfernt werden."
+"Achtung, das Bejahen der Frage hat einen TOTALEN VERLUST ALLER DATEN zur "
+"Folge, sollte das Paket mittels purge entfernt werden."

Modified: trunk/packages/openmrs/trunk/debian/po/templates.pot
===================================================================
--- trunk/packages/openmrs/trunk/debian/po/templates.pot	2010-10-11 22:51:40 UTC (rev 5347)
+++ trunk/packages/openmrs/trunk/debian/po/templates.pot	2010-10-12 20:58:41 UTC (rev 5348)
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: openmrs at packages.debian.org\n"
-"POT-Creation-Date: 2010-10-09 08:59-0500\n"
+"POT-Creation-Date: 2010-10-12 11:57-0500\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"
@@ -17,15 +17,29 @@
 "Content-Type: text/plain; charset=CHARSET\n"
 "Content-Transfer-Encoding: 8bit\n"
 
+#. Type: note
+#. Description
+#: ../templates:1001
+msgid "Please go to http://localhost:8080/openmrs to complete the setup."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../templates:1001
+msgid ""
+"This step will allow you to create the databases necessary for OpenMRS to "
+"function."
+msgstr ""
+
 #. Type: boolean
 #. Description
-#: ../templates:1001
+#: ../templates:2001
 msgid "Remove local OpenMRS database on package purge?"
 msgstr ""
 
 #. Type: boolean
 #. Description
-#: ../templates:1001
+#: ../templates:2001
 msgid ""
 "Attention, enabling this option will result in LOSS OF ALL DATA if the "
 "package is purged."

Modified: trunk/packages/openmrs/trunk/debian/templates
===================================================================
--- trunk/packages/openmrs/trunk/debian/templates	2010-10-11 22:51:40 UTC (rev 5347)
+++ trunk/packages/openmrs/trunk/debian/templates	2010-10-12 20:58:41 UTC (rev 5348)
@@ -1,3 +1,8 @@
+Template: openmrs/database-setup-instructions
+Type: note
+_Description: Please go to http://localhost:8080/openmrs to complete the setup.
+ This step will allow you to create the databases necessary for OpenMRS to function.
+
 Template: openmrs/remove-data-on-purge
 Type: boolean
 Default: false




More information about the debian-med-commit mailing list