X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/8fe918b2f21cce5df41b31dc8f58b34aad65dd57..cdb2f6f01940242c613b6c1d31332598dec7d625:/cookbooks/apt/resources/source.rb diff --git a/cookbooks/apt/resources/source.rb b/cookbooks/apt/resources/source.rb index 2839b29b6..8669857c7 100644 --- a/cookbooks/apt/resources/source.rb +++ b/cookbooks/apt/resources/source.rb @@ -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