Permalink
Browse files

[COOK-1040] - actually run apt-get update w/ not_if

The update-notifier-common package may have a newer version available
than what is in the current APT cache. Make sure that the apt-get
update command executes beforehand to ensure that the cache is
updated.
  • Loading branch information...
1 parent 415ec5e commit ef8981a1a5d6e6a1d869ce9f0e52536e9d9d3bed @jtimberman jtimberman committed Feb 14, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 apt/recipes/default.rb
View
@@ -23,7 +23,6 @@
command "apt-get update"
ignore_failure true
not_if do ::File.exists?('/var/lib/apt/periodic/update-success-stamp') end
- action :nothing
end
# For other recipes to call to force an update

0 comments on commit ef8981a

Please sign in to comment.