* fix for odd systems that don't have comar installed at all
This commit is contained in:
+1
-1
@@ -22,7 +22,6 @@ import pisi.context as ctx
|
|||||||
import pisi.util as util
|
import pisi.util as util
|
||||||
import pisi.packagedb as packagedb
|
import pisi.packagedb as packagedb
|
||||||
from pisi.uri import URI
|
from pisi.uri import URI
|
||||||
import pisi.comariface as comariface
|
|
||||||
|
|
||||||
# single package operations
|
# single package operations
|
||||||
|
|
||||||
@@ -48,6 +47,7 @@ def remove_file(fileinfo):
|
|||||||
|
|
||||||
def run_preremove(package_name):
|
def run_preremove(package_name):
|
||||||
if ctx.comard:
|
if ctx.comard:
|
||||||
|
import pisi.comariface as comariface
|
||||||
comariface.run_preremove(package_name)
|
comariface.run_preremove(package_name)
|
||||||
else:
|
else:
|
||||||
# TODO: store this somewhere
|
# TODO: store this somewhere
|
||||||
|
|||||||
Reference in New Issue
Block a user