diff options
author | Matthew Harmsen <mharmsen@redhat.com> | 2012-11-09 13:01:58 -0800 |
---|---|---|
committer | Matthew Harmsen <mharmsen@redhat.com> | 2012-11-09 13:01:58 -0800 |
commit | af5841362e9a464def4022de242ae14a3879eff6 (patch) | |
tree | f100a88fb42600c0dbe5c773484b5838129ed3c3 /base/silent | |
parent | cfcd0157084daa5a40d91b4ab9b75eadd4133c08 (diff) | |
download | pki-af5841362e9a464def4022de242ae14a3879eff6.tar.gz pki-af5841362e9a464def4022de242ae14a3879eff6.tar.xz pki-af5841362e9a464def4022de242ae14a3879eff6.zip |
Move default location for client certificate database (pkisilent)
* TRAC Ticket #398 - Move default location for client certificate databas
Diffstat (limited to 'base/silent')
-rwxr-xr-x | base/silent/templates/pki_silent.template | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/base/silent/templates/pki_silent.template b/base/silent/templates/pki_silent.template index 27e4ae77f..10b95cec2 100755 --- a/base/silent/templates/pki_silent.template +++ b/base/silent/templates/pki_silent.template @@ -54,6 +54,10 @@ if [ "${MY_UID}" != "${ROOTUID}" ] && exit 255 fi +if [ -z "${HOME}" ]; then + printf "ERROR: The 'HOME' environment variable must be set!\n" + exit 255 +fi ############################################################################## @@ -78,7 +82,7 @@ fi ## PKI Silent Security Database Variables ## (e. g. - PKI Silent "browser" database) -pki_silent_security_database_repository="/tmp" +pki_silent_security_database_repository="${HOME}/.pki/certs" pki_silent_security_database_password= ## PKI Security Domain Variables |