Permalink
Browse files

Fixes for version 0.5.1

  • Loading branch information...
1 parent c17eb3c commit ae8113ad20bf0e82308394f9b1a38ae61b2d45ba @sts committed May 6, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/smailr.rb
View
@@ -6,7 +6,7 @@
require 'fileutils'
module Smailr
- VERSION = '0.5.1'
+ VERSION = '0.5.2'
autoload :Model, 'smailr/model'
autoload :Domain, 'smailr/domain'
@@ -50,7 +50,7 @@ def self.setup
# Only install configuration if needed
if config["exim_path"]
if File.writable?(config["exim_path"])
- FileUtils.cp File.expand_path("/exim4.conf", prefix), config["exim_path"]
+ FileUtils.cp File.expand_path("exim4.conf", prefix), config["exim_path"]
else
say_error "Cannot copy Exim configuration to #{config["exim_path"]} - permission denied or path doesn't exist."
exit 1
@@ -59,8 +59,8 @@ def self.setup
if config["dovecot_path"]
if File.writable?(config["dovecot_path"])
- FileUtils.cp File.expand_path("/dovecot.conf", prefix), config["dovecot_path"]
- FileUtils.cp File.expand_path("/dovecot-sql.conf", prefix), config["dovecot_path"]
+ FileUtils.cp File.expand_path("dovecot.conf", prefix), config["dovecot_path"]
+ FileUtils.cp File.expand_path("dovecot-sql.conf", prefix), config["dovecot_path"]
else
say_error "Cannot copy Dovecot configuration to #{config["dovecot_path"]} - permission denied or path doesn't exist."
exit 1

0 comments on commit ae8113a

Please sign in to comment.