* conflict eden package'i install etme istersen

This commit is contained in:
Eray Özkural
2005-07-11 00:36:33 +00:00
parent e9f6b2d384
commit f797ca0b88
+3 -1
View File
@@ -64,7 +64,9 @@ def install(package_fn):
packagedb.add_package(metadata.package) # terrible solution it seems
# check conflicts
if
for pkg in metadata.package.conflicts:
if installdb.has_package(pkg):
raise InstallError("Package conflicts " + pkg)
# check dependencies
if not dependency.installable(metadata.package.name):