diff options
author | maz-1 | 2015-10-13 10:02:59 +0000 |
---|---|---|
committer | maz-1 | 2015-10-13 10:02:59 +0000 |
commit | eabaa1dcfd93f39ab820c312da80d6146ef90798 (patch) | |
tree | 479e6f830f6fbb5424769f33b42ed6efb6bed278 /fix_package_querying.patch | |
parent | 26549a0393537fcf2021d1c652c268e47c16567a (diff) | |
download | aur-eabaa1dcfd93f39ab820c312da80d6146ef90798.tar.gz |
update
Diffstat (limited to 'fix_package_querying.patch')
-rw-r--r-- | fix_package_querying.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/fix_package_querying.patch b/fix_package_querying.patch new file mode 100644 index 000000000000..7564929c8513 --- /dev/null +++ b/fix_package_querying.patch @@ -0,0 +1,13 @@ +diff -Naur a/program/functions.py b/program/functions.py +--- a/program/functions.py 2010-12-04 17:18:57.000000000 +0000 ++++ b/program/functions.py 2015-10-13 09:34:01.093513450 +0000 +@@ -57,7 +57,7 @@ +- a = commands.getoutput( 'dpkg -l' ) ++ a = commands.getoutput( 'pacman -Q' ) + a = a.split( '\n' ) + for each in a: +- if each[0:2] == 'ii' and each.split()[1] == pkg_name: ++ if each.split()[0] == pkg_name: + return True + + return False |