Roy Kaldung 9 years ago
parent
commit
0086a29c62
2 changed files with 6 additions and 6 deletions
  1. 1 1
      .pkgr.yml
  2. 5 5
      config/initializers/logo.rb

+ 1 - 1
.pkgr.yml

@@ -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

+ 5 - 5
config/initializers/logo.rb

@@ -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