def run(self): #if not self.nodepcheck: if not self.no_check_deps: print 'Checking dependencies.' self.check_dependencies() install.run(self)
def run(self): if not self.no_check_deps: self.check_dependencies() self.update_whois_config() self.update_apache_config() install.run(self)
def run(self): "Run install process" # copy files install.run(self) # remove subsidiary file filepath = os.path.join(self.getDir_nop('DOCDIR'), 'cron.d', 'run.install') if os.path.isfile(filepath): os.unlink(filepath) if self.prepare_debian_package: self.make_preparation_for_debian_package(self.log, ( ('MODULE_ROOT', self.fredappdir), ('MODULES_CONF_DIR', self.fredconfmoduledir), ('APPCONFDIR', self.appconfdir), ('BINDIR', self.getDir('BINDIR')), ('INSTALLED_SIZE', file_util.get_folder_kb_size( self.get_root())), )) return if self.SCRIPT_CREATE_DB: # prepare command for create database command = os.path.join(self.getDir('FREDAPPDIR'), self.SCRIPTS_DIR, self.SCRIPT_CREATE_DB) # create database if self.after_install: # copy settings into destination file print "Run command", command os.system(command) # run create-database else: print "The remaining steps to complete the installation:" print "(Use --after-install for make all these "\ "command in one step)" print print command if hasattr(self, "help_message"): print self.help_message
def run(self): "Run install process" # copy files install.run(self) # remove subsidiary file filepath = os.path.join(self.getDir_nop("DOCDIR"), "cron.d", "run.install") if os.path.isfile(filepath): os.unlink(filepath) if self.prepare_debian_package: self.make_preparation_for_debian_package( self.log, ( ("MODULE_ROOT", self.fredappdir), ("MODULES_CONF_DIR", self.fredconfmoduledir), ("APPCONFDIR", self.appconfdir), ("BINDIR", self.getDir("BINDIR")), ("INSTALLED_SIZE", file_util.get_folder_kb_size(self.get_root())), ), ) return if self.SCRIPT_CREATE_DB: # prepare command for create database command = os.path.join(self.getDir("FREDAPPDIR"), self.SCRIPTS_DIR, self.SCRIPT_CREATE_DB) # create database if self.after_install: # copy settings into destination file print "Run command", command os.system(command) # run create-database else: print "The remaining steps to complete the installation:" print "(Use --after-install for make all these " "command in one step)" print print command if hasattr(self, "help_message"): print self.help_message
def run(self): self.update_fred2pdf_config() return install.run(self)
def run(self): self.update_fred_config() install.run(self)