summaryrefslogtreecommitdiffstats
path: root/base/deploy/scripts/operations
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-12-06 13:06:14 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2012-12-06 13:06:14 -0500
commit145114f713a58ed5ce896e2192e50eeb382a3c74 (patch)
tree381a6f98d29ba699ef3c9aac4c54014804a5aa29 /base/deploy/scripts/operations
parent79ff01ef76f2a4ca44d02bceb7173541328bef3b (diff)
downloadpki-ticket-422.tar.gz
pki-ticket-422.tar.xz
pki-ticket-422.zip
Added RESTEASY_LIB.ticket-422
Diffstat (limited to 'base/deploy/scripts/operations')
-rw-r--r--base/deploy/scripts/operations8
1 files changed, 2 insertions, 6 deletions
diff --git a/base/deploy/scripts/operations b/base/deploy/scripts/operations
index 020efbc8f..17f5963d2 100644
--- a/base/deploy/scripts/operations
+++ b/base/deploy/scripts/operations
@@ -945,12 +945,8 @@ verify_symlinks()
pki_systemd_service="pki-${PKI_WEB_SERVER_TYPE}d@.service"
systemd_dir="/lib/systemd/system"
- grep "Red Hat Enterprise Linux" /etc/redhat-release
- if [ $? == 0 ]; then
- resteasy_java_dir="/usr/share/java/resteasy-base"
- else
- resteasy_java_dir="/usr/share/java/resteasy"
- fi
+ RESTEASY_LIB=`grep RESTEASY_LIB= /etc/pki/default.cfg | awk -F= '{ print $2; }'`
+ echo "RESTEASY_LIB=$RESTEASY_LIB"
# Dogtag 10 Symbolic Link Variables
pki_common_jar_dir="${PKI_INSTANCE_PATH}/common/lib"