- result = shell.eval(
- "php", "-c", ".", "maintenance/install.php",
- "--dbname", options.dsn.database,
- "--dbpassfile", "php://fd/%d" % (dbpass_fd,),
- "--dbserver", options.dsn.host,
- "--dbuser", options.dsn.username,
+ args = (
+ "php", "-c", ".", "maintenance/install.php",
+ "--dbname", options.dsn.database,
+ "--dbpassfile", "php://fd/%d" % (dbpass_fd,),
+ "--dbserver", options.dsn.host,
+ "--dbuser", options.dsn.username,
+ "--passfile", "php://fd/%d" % (pass_fd,),
+ "--server", "https://" + options.web_host,
+ "--scriptpath", options.web_path,
+ )
+ if has_email:
+ args += (