diff --git a/contrib/dokku-installer.py b/contrib/dokku-installer.py index 8a6821487..c5ad23e1c 100755 --- a/contrib/dokku-installer.py +++ b/contrib/dokku-installer.py @@ -107,14 +107,14 @@ class GetHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): proc.stdin.close() proc.wait() - if 'selfdestruct' in sys.argv: - DeleteInstallerThread() - set_debconf_selection('boolean', 'skip_key_file', 'true') set_debconf_selection('boolean', 'vhost_enable', vhost_enable) set_debconf_selection('boolean', 'web_config', 'false') set_debconf_selection('string', 'hostname', params['hostname'].value) + if 'selfdestruct' in sys.argv: + DeleteInstallerThread() + self.send_response(200) self.end_headers() self.wfile.write(json.dumps({'status': 'ok'}))