Create /tmp/ledgersmb if not exists

This commit is contained in:
John Locke 2017-03-14 13:50:53 -07:00
parent 8afea54d65
commit 5f45abdf2d

View File

@ -14,6 +14,9 @@ if [[ ! -f ledgersmb.conf ]]; then
/srv/ledgersmb/ledgersmb.conf /srv/ledgersmb/ledgersmb.conf
fi fi
if [ ! -f "/tmp/ledgersmb" ]; then
mkdir /tmp/ledgersmb
fi
# Currently unmaintained/untested # Currently unmaintained/untested
# if [ ! -z ${CREATE_DATABASE+x} ]; then # if [ ! -z ${CREATE_DATABASE+x} ]; then
# perl tools/dbsetup.pl --company $CREATE_DATABASE \ # perl tools/dbsetup.pl --company $CREATE_DATABASE \