get rid of comard, we call it comar from now on.
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ ui = None # not now
|
||||
installdb = None
|
||||
repodb = None
|
||||
|
||||
comard = None
|
||||
comar = None
|
||||
|
||||
#def register(_impl):
|
||||
# """ Register a UI implementation"""
|
||||
|
||||
@@ -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
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user