diff options
-rw-r--r-- | src/kdedistutils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kdedistutils.py b/src/kdedistutils.py index dd45d17..6e9003a 100644 --- a/src/kdedistutils.py +++ b/src/kdedistutils.py @@ -621,7 +621,7 @@ class BuildKControlModule(Command): # PyKDE dir if self.pykde_dir is None: self.pykde_dir = sysconfig.get_python_lib() - if (FindFileInPaths("libkdecorecmodule*",[self.pykde_dir]) is None) and (FindFileInPaths("kdecore*",[self.pykde_dir]) is None): + if (FindFileInPaths("libtdecorecmodule*",[self.pykde_dir]) is None) and (FindFileInPaths("kdecore*",[self.pykde_dir]) is None): raise SystemExit, "Failed to find the PyKDE directory: %s" % self.pykde_dir self.announce("Using %s for PyKDE modules" % self.pykde_dir) @@ -1549,7 +1549,7 @@ class BuildKioslave(Command): # PyKDE dir if self.pykde_dir is None: self.pykde_dir = sysconfig.get_python_lib() - if (FindFileInPaths("libkdecorecmodule*",[self.pykde_dir]) is None) and (FindFileInPaths("kdecore*",[self.pykde_dir]) is None): + if (FindFileInPaths("libtdecorecmodule*",[self.pykde_dir]) is None) and (FindFileInPaths("kdecore*",[self.pykde_dir]) is None): raise SystemExit, "Failed to find the PyKDE directory: %s" % self.pykde_dir self.announce("Using %s for PyKDE modules" % self.pykde_dir) |