get rid of comard, we call it comar from now on.

This commit is contained in:
Barış Metin
2005-10-10 00:33:35 +00:00
parent b7b2e1892c
commit a5093ca314
3 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ ui = None # not now
installdb = None
repodb = None
comard = None
comar = None
#def register(_impl):
# """ Register a UI implementation"""
-2
View File
@@ -186,8 +186,6 @@ class Installer:
def register_comar_scripts(self):
"register COMAR scripts"
com = ctx.comard
for pcomar in self.metadata.package.providesComar:
scriptPath = os.path.join(self.package.comar_dir(),pcomar.script)
import pisi.comariface
+1 -1
View File
@@ -46,7 +46,7 @@ def remove_file(fileinfo):
ctx.ui.warning(_('Not removing non-file, non-link %s') % fpath)
def run_preremove(package_name):
if ctx.comard:
if ctx.comar:
import pisi.comariface as comariface
comariface.run_preremove(package_name)
else: