packages: redmine/redmine.spec - banner about database update

baggins baggins at pld-linux.org
Fri Dec 3 14:48:16 CET 2010


Author: baggins                      Date: Fri Dec  3 13:48:16 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- banner about database update

---- Files affected:
packages/redmine:
   redmine.spec (1.35 -> 1.36) 

---- Diffs:

================================================================
Index: packages/redmine/redmine.spec
diff -u packages/redmine/redmine.spec:1.35 packages/redmine/redmine.spec:1.36
--- packages/redmine/redmine.spec:1.35	Fri Dec  3 13:53:30 2010
+++ packages/redmine/redmine.spec	Fri Dec  3 14:48:11 2010
@@ -193,6 +193,13 @@
 %pre
 %useradd -u 212 -d %{_datadir}/%{name} -s /bin/false -c "Redmine User" -g nobody redmine
 
+%post
+%banner -e %{name} <<-EOF
+You may need to update redmine database, to do this run:
+cd %{_datadir}/%{name}
+rake db:migrate RAILS_ENV=production 
+EOF
+
 %postun
 if [ "$1" = "0" ]; then
 	%userremove redmine
@@ -281,6 +288,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.36  2010/12/03 13:48:11  baggins
+- banner about database update
+
 Revision 1.35  2010/12/03 12:53:30  baggins
 - add redmine user to http group (redmine has to access configs in webapps dir)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/redmine/redmine.spec?r1=1.35&r2=1.36&f=u



More information about the pld-cvs-commit mailing list