mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-12 01:37:07 +00:00
add miab directory as 'safe' for git
This commit is contained in:
parent
05b135ba73
commit
e57e1a6252
@ -140,11 +140,17 @@ init_miab_testing() {
|
|||||||
# python3-dnspython: is used by the python scripts in 'tests' and is
|
# python3-dnspython: is used by the python scripts in 'tests' and is
|
||||||
# not installed by setup
|
# not installed by setup
|
||||||
# also install 'jq' for json processing
|
# also install 'jq' for json processing
|
||||||
echo "Install python3-dnspython, jq"
|
echo "Install python3-dnspython, jq, git"
|
||||||
wait_for_apt
|
wait_for_apt
|
||||||
exec_no_output apt-get install -y python3-dnspython jq \
|
exec_no_output apt-get install -y python3-dnspython jq git \
|
||||||
|| die "Unable to install setup prerequisites !!"
|
|| die "Unable to install setup prerequisites !!"
|
||||||
|
|
||||||
|
|
||||||
|
# tell git our directory is safe (new requirement for git 2.35.2)
|
||||||
|
if [ -d .git ]; then
|
||||||
|
git config --global --add safe.directory "$(pwd)"
|
||||||
|
fi
|
||||||
|
|
||||||
# copy in pre-built MiaB-LDAP ssl files
|
# copy in pre-built MiaB-LDAP ssl files
|
||||||
# 1. avoid the lengthy generation of DH params
|
# 1. avoid the lengthy generation of DH params
|
||||||
if ! mkdir -p $STORAGE_ROOT/ssl; then
|
if ! mkdir -p $STORAGE_ROOT/ssl; then
|
||||||
|
Loading…
Reference in New Issue
Block a user