Skip to content

Commit fb6af3d

Browse files
[dpkg] uninstall_options, flags -> args array
1 parent 39e9fb1 commit fb6af3d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/puppet/provider/package/dpkg.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,11 +172,11 @@ def query
172172
end
173173

174174
def uninstall
175-
flags = "-r"
175+
args = ["-r"]
176176
if @resource[:uninstall_options]
177-
flags += @resource[:uninstall_options]
177+
args += @resource[:uninstall_options]
178178
end
179-
dpkg *flags, @resource[:name]
179+
dpkg *args, @resource[:name]
180180
end
181181

182182
def purge

0 commit comments

Comments
 (0)