diff options
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 |