lib/autoproj/package_managers/yum_manager.rb in autoproj-2.0.0.rc30 vs lib/autoproj/package_managers/yum_manager.rb in autoproj-2.0.0.rc31
- old
+ new
@@ -2,11 +2,11 @@
module PackageManagers
# Package manager interface for systems that use yum
class YumManager < ShellScriptManager
def initialize(ws)
super(ws, true,
- "yum install '%s'",
- "yum install -y '%s'")
+ %w{yum install},
+ %w{yum install -y})
end
def filter_uptodate_packages(packages)
result = `LANG=C rpm -q --queryformat "%{NAME}\n" '#{packages.join("' '")}'`