Blob Blame History Raw
diff --git a/virtualenv.py b/virtualenv.py
index 3ccbed6..504efc8 100755
--- a/virtualenv.py
+++ b/virtualenv.py
@@ -473,7 +473,10 @@ def virtualenv_support_dirs():
 
     # normal filesystem installation
     if os.path.isdir(join(HERE, "virtualenv_support")):
-        yield [join(HERE, "virtualenv_support")]
+        if os.path.isdir("/usr/share/python-wheels"):
+            yield ["/usr/share/python-wheels", join(HERE, "virtualenv_support")]
+        else:
+            yield [join(HERE, "virtualenv_support")]
     elif IS_ZIPAPP:
         tmpdir = tempfile.mkdtemp()
         try: