Revert to original path to cgimap executable
authorTom Hughes <tom@compton.nu>
Fri, 6 May 2016 21:43:28 +0000 (22:43 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 6 May 2016 21:43:28 +0000 (22:43 +0100)
This reverts commit 1b6728246580546cc65a35ca414134a3886d9508.

cookbooks/web/recipes/cgimap.rb

index db86bd6f9a7962a3e4a9f9ef0952fcbb4ee2c4d2..8953820ef56856ce4c086b84d13f3286d67172f2 100644 (file)
@@ -96,7 +96,7 @@ cgimap_init = edit_file "#{cgimap_directory}/scripts/cgimap.init" do |line|
   line.gsub!(/^CGIMAP_MEMCACHE=.*;/, "CGIMAP_MEMCACHE=rails1,rails2,rails3;")
   line.gsub!(/^CGIMAP_RATELIMIT=.*;/, "CGIMAP_RATELIMIT=204800;")
 
-  line.gsub!(%r{/home/rails/bin/map}, "#{cgimap_directory}/.libs/lt-map")
+  line.gsub!(%r{/home/rails/bin/map}, "#{cgimap_directory}/map")
 
   if database_readonly
     line.gsub!(/--daemon/, "--daemon --readonly")