Merge branch 'patch-1' of git://github.com/realfake/passbolt_docker into realfake-patch-1
This commit is contained in:
commit
2a25d2df46
|
|
@ -173,29 +173,31 @@ email_cron_job() {
|
|||
}
|
||||
|
||||
|
||||
if [ ! -f $gpg_private_key ] || [ ! -f $gpg_public_key ]; then
|
||||
if [ ! -f $gpg_private_key ] && [ ! -L $gpg_private_key ] || \
|
||||
[ ! -f $gpg_public_key ] && [ ! -L $gpg_public_key ]; then
|
||||
gpg_gen_key
|
||||
else
|
||||
gpg_import_key
|
||||
fi
|
||||
|
||||
if [ ! -f $core_config ]; then
|
||||
if [ ! -f $core_config ] && [ ! -L $core_config ]; then
|
||||
core_setup
|
||||
fi
|
||||
|
||||
if [ ! -f $db_config ]; then
|
||||
if [ ! -f $db_config ] && [ ! -L $db_config ]; then
|
||||
db_setup
|
||||
fi
|
||||
|
||||
if [ ! -f $app_config ]; then
|
||||
if [ ! -f $app_config ] && [ ! -L $app_config ]; then
|
||||
app_setup
|
||||
fi
|
||||
|
||||
if [ ! -f $email_config ]; then
|
||||
if [ ! -f $email_config ] && [ ! -L $email_config ]; then
|
||||
email_setup
|
||||
fi
|
||||
|
||||
if [ ! -f $ssl_key ] && [ ! -f $ssl_cert ]; then
|
||||
if [ ! -f $ssl_key ] && [ ! -L $ssl_key ] && \
|
||||
[ ! -f $ssl_cert ] && [ ! -L $ssl_cert ]; then
|
||||
gen_ssl_cert
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue