Commit Graph

3 Commits

Author SHA1 Message Date
Nico Schottelius aedbc263d7 need to use --whatprovides
This ensure we also check for other packages which are used instead
of the requested one, which does not work with rpm -q:

[root@brett ~]# rpm -q vim
package vim is not installed
[root@brett ~]# yum --assumeyes --quiet install "vim"
Package 2:vim-enhanced-7.3.056-1.fc14.x86_64 already installed and
latest version
[root@brett ~]# rpm -q --whatprovides vim
vim-enhanced-7.3.056-1.fc14.x86_64

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-02 02:49:57 +02:00
Nico Schottelius a778dee9fc use rpm -q to get status
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-02 02:19:47 +02:00
Nico Schottelius e19c079f24 add template for new type __package_yum
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-02 02:00:20 +02:00