diff -r 7fc329e733c5 -r 24417d8949b5 debian/littlebird-tc-sql.templates --- a/debian/littlebird-tc-sql.templates Wed Aug 31 17:20:19 2011 +0200 +++ b/debian/littlebird-tc-sql.templates Thu Sep 01 12:23:59 2011 +0200 @@ -2,6 +2,18 @@ Type: title Description: This is the littlebird trust center SQL package. +Template: littlebird-tc/db/have-admin +Type: boolean +Default: yes +Description: Do you have the data to access your database server as admin? + During the package configuration (postinst) we need to connect + to your database server and setup the littlebird schema, install + a littlebird user etcpp. If you can provide us the data to access + this server, please answer "yes", if not, + please answer "no" and return later and run + . + dpkg-reconfigure littlebird-tc-sql + Template: littlebird-tc/db/adminuser Type: string Default: root @@ -17,16 +29,10 @@ the password for the user who is empowered enough. (The password will be securly kept in the debconf database.) -Template: littlebird-tc/db/noadminpass +Template: littlebird-tc/db/exists Type: note -Description: No password given! - You didn't tell us a admin password for accessing the database. Since - we refuse to use any database without any password, you're left - alone with an unconfigured package. Please, later, run the following - command: +Description: The database "${name}" exists already. + Since the database "${name}" seems to exist already, we will not + start any attempt to do anything. . - dpkg-reconfigure littlebird-tc-sql - . - Sorry for the inconvenience. - . - HINT: Maybe you want to install a mysql server? + Sorry, if this is not what you expected.