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
|
installdb = None
|
||||||
repodb = None
|
repodb = None
|
||||||
|
|
||||||
comard = None
|
comar = None
|
||||||
|
|
||||||
#def register(_impl):
|
#def register(_impl):
|
||||||
# """ Register a UI implementation"""
|
# """ Register a UI implementation"""
|
||||||
|
|||||||
@@ -186,8 +186,6 @@ class Installer:
|
|||||||
def register_comar_scripts(self):
|
def register_comar_scripts(self):
|
||||||
"register COMAR scripts"
|
"register COMAR scripts"
|
||||||
|
|
||||||
com = ctx.comard
|
|
||||||
|
|
||||||
for pcomar in self.metadata.package.providesComar:
|
for pcomar in self.metadata.package.providesComar:
|
||||||
scriptPath = os.path.join(self.package.comar_dir(),pcomar.script)
|
scriptPath = os.path.join(self.package.comar_dir(),pcomar.script)
|
||||||
import pisi.comariface
|
import pisi.comariface
|
||||||
|
|||||||
+1
-1
@@ -46,7 +46,7 @@ def remove_file(fileinfo):
|
|||||||
ctx.ui.warning(_('Not removing non-file, non-link %s') % fpath)
|
ctx.ui.warning(_('Not removing non-file, non-link %s') % fpath)
|
||||||
|
|
||||||
def run_preremove(package_name):
|
def run_preremove(package_name):
|
||||||
if ctx.comard:
|
if ctx.comar:
|
||||||
import pisi.comariface as comariface
|
import pisi.comariface as comariface
|
||||||
comariface.run_preremove(package_name)
|
comariface.run_preremove(package_name)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user