summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/ipa_replica_prepare.py
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-06-25 16:53:24 +0200
committerPetr Viktorin <pviktori@redhat.com>2013-06-27 16:01:52 +0200
commitf5bc155f56a3673a419f921db18e64f8647065ec (patch)
tree633a610c3069a5d8ed308ab3f2b356c2342eff45 /ipaserver/install/ipa_replica_prepare.py
parent736dd0fcd6d35abbea28481dc544502c132f78f8 (diff)
downloadfreeipa-f5bc155f56a3673a419f921db18e64f8647065ec.tar.gz
freeipa-f5bc155f56a3673a419f921db18e64f8647065ec.tar.xz
freeipa-f5bc155f56a3673a419f921db18e64f8647065ec.zip
Create Firefox configuration extension on CA-less install
Create: * kerberosauth.xpi * krb.js even when --http_pkcs12 option is used. https://fedorahosted.org/freeipa/ticket/3747
Diffstat (limited to 'ipaserver/install/ipa_replica_prepare.py')
-rw-r--r--ipaserver/install/ipa_replica_prepare.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/ipaserver/install/ipa_replica_prepare.py b/ipaserver/install/ipa_replica_prepare.py
index b6b063332..f6af28e3a 100644
--- a/ipaserver/install/ipa_replica_prepare.py
+++ b/ipaserver/install/ipa_replica_prepare.py
@@ -338,8 +338,9 @@ class ReplicaPrepare(admintool.AdminTool):
self.copy_info_file("/usr/share/ipa/html/krb.js", "krb.js")
self.copy_info_file(
"/usr/share/ipa/html/kerberosauth.xpi", "kerberosauth.xpi")
- self.copy_info_file(
- "/usr/share/ipa/html/configure.jar", "configure.jar")
+ jar_filename = "/usr/share/ipa/html/configure.jar"
+ if ipautil.file_exists(jar_filename):
+ self.copy_info_file(jar_filename, "configure.jar")
cacert_filename = "/var/kerberos/krb5kdc/cacert.pem"
if ipautil.file_exists(cacert_filename):
self.copy_info_file(cacert_filename, "cacert.pem")