Skip to content

Commit

Permalink
Merge pull request #2 from MiLk/master
Browse files Browse the repository at this point in the history
Fix is_installed for rpm
  • Loading branch information
MiLk committed Mar 2, 2015
2 parents 4063828 + 7fea648 commit 6f9414f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/yum.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def main():
[
'rpm', '-q',
'--queryformat',
'"%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n"',
'%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}',
'-p', pkg
], check_rc=True)
if not is_installed(real_name):
Expand Down

0 comments on commit 6f9414f

Please sign in to comment.