File tree Expand file tree Collapse file tree
chef/lib/chef/provider/package Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,8 +64,7 @@ def install_package(name, version)
6464 run_command (
6565 :command => "apt-get -q -y install #{ name } =#{ version } " ,
6666 :environment => {
67- "DEBIAN_FRONTEND" => "noninteractive" ,
68- "LANG" => "en_US"
67+ "DEBIAN_FRONTEND" => "noninteractive"
6968 }
7069 )
7170 end
@@ -78,8 +77,7 @@ def remove_package(name, version)
7877 run_command (
7978 :command => "apt-get -q -y remove #{ @new_resource . package_name } " ,
8079 :environment => {
81- "DEBIAN_FRONTEND" => "noninteractive" ,
82- "LANG" => "en_US"
80+ "DEBIAN_FRONTEND" => "noninteractive"
8381 }
8482 )
8583 end
@@ -88,8 +86,7 @@ def purge_package(name, version)
8886 run_command (
8987 :command => "apt-get -q -y purge #{ @new_resource . package_name } " ,
9088 :environment => {
91- "DEBIAN_FRONTEND" => "noninteractive" ,
92- "LANG" => "en_US"
89+ "DEBIAN_FRONTEND" => "noninteractive"
9390 }
9491 )
9592 end
@@ -101,8 +98,7 @@ def preseed_package(name, version)
10198 run_command (
10299 :command => "debconf-set-selections #{ preseed_file } " ,
103100 :environment => {
104- "DEBIAN_FRONTEND" => "noninteractive" ,
105- "LANG" => "en_US"
101+ "DEBIAN_FRONTEND" => "noninteractive"
106102 }
107103 )
108104 end
You can’t perform that action at this time.
0 commit comments