diff options
| author | Endi Sukma Dewata <edewata@redhat.com> | 2013-05-06 20:12:47 -0400 |
|---|---|---|
| committer | Endi Sukma Dewata <edewata@redhat.com> | 2013-05-07 01:46:08 -0400 |
| commit | 7e20f33c006aba169e2fc86f7bb55197d84400a4 (patch) | |
| tree | a4939d4ac3395a06af9fe425e3e8d9cfb6d47420 /base/common/upgrade | |
| parent | 1dfa32683c509adffa7cb4e971ab6e423bd23eb2 (diff) | |
Fixed incorrect JNI_JAR_DIR.
The JNI_JAR_DIR is supposed to be architecture-specific but the
pki-base package is architecture-neutral. So, to ensure it has the
correct value, the variable will be set at post installation.
Also, to simplify the upgrade process, the variable has been moved
from /etc/pki/pki.conf into /usr/share/pki/etc/pki.conf. The build,
deployment, startup, and upgrade scripts have been modified
accordingly.
Diffstat (limited to 'base/common/upgrade')
| -rwxr-xr-x | base/common/upgrade/10.0.1/01-AddJniJarDir | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/base/common/upgrade/10.0.1/01-AddJniJarDir b/base/common/upgrade/10.0.1/01-AddJniJarDir index ea92640b5..212ffbdeb 100755 --- a/base/common/upgrade/10.0.1/01-AddJniJarDir +++ b/base/common/upgrade/10.0.1/01-AddJniJarDir @@ -47,6 +47,8 @@ class AddJniJarDir(pki.upgrade.PKIUpgradeScriptlet): # find JNI_JAR_DIR if conf.index('JNI_JAR_DIR') >= 0: # already exists + conf.set('JNI_JAR_DIR', default_path) + conf.write() return # find RESTEASY_LIB |
