X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/8fe918b2f21cce5df41b31dc8f58b34aad65dd57..3e3fe7718ee69bb95908dbe474fb4b15d80d329a:/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