Пример #1
0
 def _check_apache_install(self):
     result = chromium.check_file_exists(self._path_to_apache(), "apache2")
     result = chromium.check_file_exists(self._path_to_apache_config_file(),
                                         "apache2 config file") and result
     if not result:
         _log.error('    Please install using: "sudo apt-get install '
                    'apache2 libapache2-mod-php5"')
         _log.error('')
     return result
Пример #2
0
 def _check_apache_install(self):
     result = chromium.check_file_exists(self._path_to_apache(),
         "apache2")
     result = chromium.check_file_exists(self._path_to_apache_config_file(),
         "apache2 config file") and result
     if not result:
         _log.error('    Please install using: "sudo apt-get install '
                    'apache2 libapache2-mod-php5"')
         _log.error('')
     return result
Пример #3
0
 def _check_lighttpd_install(self):
     result = chromium.check_file_exists(
         self._path_to_lighttpd(), "LigHTTPd executable")
     result = chromium.check_file_exists(self._path_to_lighttpd_php(),
         "PHP CGI executable") and result
     result = chromium.check_file_exists(self._path_to_lighttpd_modules(),
         "LigHTTPd modules") and result
     if not result:
         _log.error('    Please install using: "sudo apt-get install '
                    'lighttpd php5-cgi"')
         _log.error('')
     return result
Пример #4
0
 def _check_lighttpd_install(self):
     result = chromium.check_file_exists(
         self._path_to_lighttpd(), "LigHTTPd executable")
     result = chromium.check_file_exists(self._path_to_lighttpd_php(),
         "PHP CGI executable") and result
     result = chromium.check_file_exists(self._path_to_lighttpd_modules(),
         "LigHTTPd modules") and result
     if not result:
         _log.error('    Please install using: "sudo apt-get install '
                    'lighttpd php5-cgi"')
         _log.error('')
     return result
Пример #5
0
 def _check_wdiff_install(self):
     result = chromium.check_file_exists(self._path_to_wdiff(), 'wdiff')
     if not result:
         _log.error('    Please install using: "sudo apt-get install '
                    'wdiff"')
         _log.error('')
     return result
Пример #6
0
 def _check_wdiff_install(self):
     result = chromium.check_file_exists(self._path_to_wdiff(), 'wdiff')
     if not result:
         _log.error('    Please install using: "sudo apt-get install '
                    'wdiff"')
         _log.error('')
     # FIXME: The ChromiumMac port always returns True.
     return result
Пример #7
0
 def _check_wdiff_install(self):
     result = chromium.check_file_exists(self._path_to_wdiff(), 'wdiff')
     if not result:
         _log.error('    Please install using: "sudo apt-get install '
                    'wdiff"')
         _log.error('')
     # FIXME: The ChromiumMac port always returns True.
     return result