Skip to content

Instantly share code, notes, and snippets.

@rectalogic
Created December 7, 2012 22:50
Show Gist options
  • Save rectalogic/4237172 to your computer and use it in GitHub Desktop.
Save rectalogic/4237172 to your computer and use it in GitHub Desktop.
execute "unattended-upgrades" do
command "unattended-upgrades"
only_if 'grep security /var/lib/update-notifier/updates-available'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment