Commit aaa0ee687d465e7411b70d478ae62a749a74890d
1 parent
a0b02c3d
Exists in
web_steps_improvements
and in
10 other branches
debian-package: run setup on postinst
Showing
3 changed files
with
2 additions
and
4 deletions
Show diff stats
debian/dbinstall
... | ... | @@ -5,8 +5,6 @@ set -e |
5 | 5 | # dbconfig-common uses "pgsql", but we want "postgresql" |
6 | 6 | sed -i -e 's/adapter: pgsql/adapter: postgresql/' /etc/noosfero/database.yml |
7 | 7 | |
8 | -/etc/init.d/noosfero setup | |
9 | - | |
10 | 8 | cd /usr/share/noosfero && su noosfero -c "rake db:schema:load RAILS_ENV=production" |
11 | 9 | cd /usr/share/noosfero && su noosfero -c "rake db:migrate RAILS_ENV=production SCHEMA=/dev/null" |
12 | 10 | cd /usr/share/noosfero && su noosfero -c "rake db:data:minimal RAILS_ENV=production" | ... | ... |
debian/dbupgrade
debian/noosfero.postinst