lib/specinfra/command/arch/base/package.rb in specinfra-2.0.0.beta37 vs lib/specinfra/command/arch/base/package.rb in specinfra-2.0.0.beta38
- old
+ new
@@ -10,10 +10,11 @@
def get_version(package, opts=nil)
"pacman -Qi #{package} | grep Version | awk '{print $3}'"
end
- def install(package)
+ def install(package, version=nil)
+ # Pacman doesn't support to install specific version.
"pacman -S --noconfirm #{package}"
end
# Should this method be here or not ?
def sync_repos