From 8ed86a749548ed2c373026ec34f5284a329bb7c2 Mon Sep 17 00:00:00 2001 From: Endi Sukma Dewata Date: Mon, 17 Sep 2012 13:04:45 -0500 Subject: Fixed problems with optional pki-symkey. The deployment and init scripts have been fixed to create and check the link to symkey.jar if a TKS instance is added, and remove the link if the instance is removed. Ticket #331 --- base/setup/scripts/functions | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'base/setup') diff --git a/base/setup/scripts/functions b/base/setup/scripts/functions index 71685fe6d..2242063b2 100644 --- a/base/setup/scripts/functions +++ b/base/setup/scripts/functions @@ -971,12 +971,15 @@ verify_symlinks() [pki-cmscore.jar]=/usr/share/java/pki/pki-cmscore.jar [pki-cmsutil.jar]=/usr/share/java/pki/pki-cmsutil.jar [pki-nsutil.jar]=/usr/share/java/pki/pki-nsutil.jar - [symkey.jar]=${jni_dir}/symkey.jar [velocity.jar]=/usr/share/java/velocity.jar [xerces-j2.jar]=/usr/share/java/xerces-j2.jar [xml-commons-apis.jar]=/usr/share/java/xml-commons-apis.jar [xml-commons-resolver.jar]=/usr/share/java/xml-commons-resolver.jar) + if [ "${PKI_SUBSYSTEM_TYPE}" == "tks" ]; then + webapps_jar_symlinks[symkey.jar]=${jni_dir}/symkey.jar + fi + # '${pki_systemd_dir}' symlinks systemd_symlinks[${pki_systemd_link}]=${systemd_dir}/${pki_systemd_service} -- cgit