summaryrefslogtreecommitdiff
path: root/libre/sagemath/package.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/sagemath/package.patch')
-rw-r--r--libre/sagemath/package.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/libre/sagemath/package.patch b/libre/sagemath/package.patch
index b2a0d2dcf..0b219ddeb 100644
--- a/libre/sagemath/package.patch
+++ b/libre/sagemath/package.patch
@@ -4,7 +4,7 @@
Otherwise, installing "pillow" will cause this function to think
that "pil" is installed, for example.
"""
-- return any(p.split('-')[0] == package for p in installed_packages())
+- return any(p.split('-')[0] == package for p in install_package())
+ return True
def package_versions(package_type, local=False):