lib/beaker/host/unix/pkg.rb
# If apt has not been updated since the last repo deployment it is
# updated. Otherwise this is a noop
If apt has not been updated since the last repo deployment it is
updated. Otherwise this is a noop
If apt has not been updated since the last repo deployment it is updated . Otherwise this is a noop
def update_apt_if_needed
    if self['platform'] =~ /debian|ubuntu|cumulus/
      if @apt_needs_update
        execute("apt-get update")
        @apt_needs_update = false
      end
    end
  end
def update_apt_if_needed if self [ 'platform' ] =~ / debian|ubuntu|cumulus / if @apt_needs_update execute ( "apt-get update" ) @apt_needs_update = false end end end
If apt has not been updated since the last repo deployment it is
updated.
If apt has not been updated since the last repo deployment it is updated .