This commit is contained in:
Roy Kaldung 2015-12-03 16:39:52 +01:00
parent 254cb5d11d
commit 0086a29c62
2 changed files with 6 additions and 6 deletions

View file

@ -11,7 +11,7 @@ after_install: packaging/hooks/postinstall.sh
before:
- cp config/database.yml.pkgr config/database.yml
- cat config/database.yml
- uname -a
env:
- RAILS_ENV=production

View file

@ -1,6 +1,6 @@
# sync logo to fs / only if settings already exists
#if ActiveRecord::Base.connection.tables.include?('settings')
# if Setting.column_names.include?('state_current')
# StaticAssets.sync
# end
#end
if ActiveRecord::Base.connection.tables.include?('settings')
if Setting.column_names.include?('state_current')
StaticAssets.sync
end
end