diff --git a/osc/commandline.py b/osc/commandline.py index fe3833d8..0274c380 100755 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -1363,7 +1363,8 @@ class Osc(cmdln.Cmdln): import osc.build - if not os.path.exists('/usr/lib/build/debtransform'): + if not os.path.exists('/usr/lib/build/debtransform') \ + and not os.path.exists('/usr/lib/lbuild/debtransform'): sys.stderr.write('Error: you need build.rpm with version 2007.3.12 or newer.\n') sys.stderr.write('See http://download.opensuse.org/repositories/openSUSE:/Tools/\n') return 1