Skip to content

Commit

Permalink
Merge pull request #179 from mfischer-zd/master
Browse files Browse the repository at this point in the history
autoremove: always work non-interactively
  • Loading branch information
thommay committed Jan 20, 2016
2 parents 7a4ff0d + 23963bd commit e7a20db
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions recipes/default.rb
Expand Up @@ -70,6 +70,9 @@
# Automatically remove packages that are no longer needed for dependencies
execute 'apt-get autoremove' do
command 'apt-get -y autoremove'
environment(
'DEBIAN_FRONTEND' => 'noninteractive'
)
only_if { apt_installed? }
action :nothing
end
Expand Down

0 comments on commit e7a20db

Please sign in to comment.