presence/lib/tasks/presence/installer.rake in social_stream-0.15.5 vs presence/lib/tasks/presence/installer.rake in social_stream-0.15.6
- old
+ new
@@ -64,11 +64,13 @@
#Execution order
output = SocialStream::Presence::XmppServerOrder::executeCommands(commands)
puts output
- #Generate RSA Keys
- Rake::Task["presence:install:generate_RSA_keys"].execute
+ if SocialStream::Presence.secure_rest_api
+ #Generate RSA Keys
+ Rake::Task["presence:install:generate_RSA_keys"].execute
+ end
puts "Installation complete"
end