diff options
Diffstat (limited to 'backend.py')
-rw-r--r-- | backend.py | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/backend.py b/backend.py index e515bba00..ee4dad17b 100644 --- a/backend.py +++ b/backend.py @@ -187,11 +187,8 @@ class AnacondaBackend: def kernelVersionList(self, rootPath="/"): return [] - def doInitialSetup(self, anaconda): - raise NotImplementedError - - def doRepoSetup(self, anaconda): - log.warning("doRepoSetup not implemented for backend!") + def doBackendSetup(self, anaconda): + log.warning("doBackendSetup not implemented for backend!") raise NotImplementedError def groupExists(self, group): @@ -245,10 +242,10 @@ class AnacondaBackend: def complete(self, anaconda): pass -def doRepoSetup(anaconda): - if anaconda.backend.doInitialSetup(anaconda) == DISPATCH_BACK: +def doBackendSetup(anaconda): + if anaconda.backend.doBackendSetup(anaconda) == DISPATCH_BACK: return DISPATCH_BACK - anaconda.backend.doRepoSetup(anaconda) + if anaconda.id.upgrade: anaconda.backend.checkSupportedUpgrade(anaconda) iutil.writeRpmPlatform(anaconda.rootPath) |