Commit a5d3f25d authored by Bryan McLellan's avatar Bryan McLellan
Browse files

remove double space in zypper command line for versions before 1.0

parent 6e85c271
......@@ -93,7 +93,7 @@ class Chef
def install_package(name, version)
if zypper_version < 1.0
run_command(
:command => "zypper install -y #{name}"
:command => "zypper install -y #{name}"
)
elsif version
run_command(
......@@ -109,7 +109,7 @@ class Chef
def upgrade_package(name, version)
if zypper_version < 1.0
run_command(
:command => "zypper install -y #{name}"
:command => "zypper install -y #{name}"
)
elsif version
run_command(
......@@ -125,7 +125,7 @@ class Chef
def remove_package(name, version)
if zypper_version < 1.0
run_command(
:command => "zypper remove -y #{name}"
:command => "zypper remove -y #{name}"
)
elsif version
run_command(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment