]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apt/resources/source.rb
Imagery - Set correct extension for mapserver
[chef.git] / cookbooks / apt / resources / source.rb
index 2839b29b64c8853d9d63cd7bc6b5d682d6f01436..8669857c7437c04f06ab1c4a3c79f6f244ab15b5 100644 (file)
@@ -32,5 +32,5 @@ def initialize(name, run_context = nil)
 end
 
 def after_created
-  notifies :run, "execute[apt-update]", :immediately
+  notifies :run, "execute[apt-update]", :immediately if @action == :create
 end