[DRE-commits] r4242 - trunk/redmine/debian

Jérémy Lal kapouer-guest at alioth.debian.org
Sat Oct 10 14:46:51 UTC 2009


Author: kapouer-guest
Date: 2009-10-10 14:46:51 +0000 (Sat, 10 Oct 2009)
New Revision: 4242

Modified:
   trunk/redmine/debian/postinst
Log:
Echo some info before populating database.

Modified: trunk/redmine/debian/postinst
===================================================================
--- trunk/redmine/debian/postinst	2009-10-10 14:46:46 UTC (rev 4241)
+++ trunk/redmine/debian/postinst	2009-10-10 14:46:51 UTC (rev 4242)
@@ -179,7 +179,10 @@
 			if [ $withdb -eq 1 ]; then
 				db_get redmine/instances/${lInstance}/default-language && DEFAULT_LANGUAGE="$RET"
 				# handle rake install
+				echo "Populating database for redmine instance \"${lInstance}\".
+This may take a while."
 				rake -s db:migrate RAILS_ENV=$fRailsEnv X_DEBIAN_SITEID="${lInstance}" VERBOSE=$RAKE_VERBOSE || true
+				echo "Done."
 				rake -s redmine:load_default_data RAILS_ENV=$fRailsEnv X_DEBIAN_SITEID="${lInstance}" REDMINE_LANG=$DEFAULT_LANGUAGE || true
 				# because rake task is executed as root here, and this file is used later by web server, make sure owner is www-data
 				touch ${fRailsLog}/production.log




More information about the Pkg-ruby-extras-commits mailing list