1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-20 02:52:11 +00:00

corrected filename

This commit is contained in:
EliterScripts 2019-04-09 23:07:10 -07:00
parent 4ef581f9f8
commit 90c9248917

View File

@ -255,7 +255,7 @@ function check_config_agreed {
return 1
fi
local current_directory="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
local yaml_agreed=$(python "${current_directory}"/checkagree.py check "${STORAGE_ROOT}/settings.yaml")
local yaml_agreed=$(python "${current_directory}"/checkagreement.py check "${STORAGE_ROOT}/settings.yaml")
if [ "$yaml_agreed" -eq "true"]; then
return 0
fi
@ -274,7 +274,7 @@ function set_config_agreed {
fi
local current_directory="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
local yaml_agreed=$(python "${current_directory}"/checkagree.py set "${STORAGE_ROOT}settings.yaml"; echo $?)
local yaml_agreed=$(python "${current_directory}"/checkagreement.py set "${STORAGE_ROOT}settings.yaml"; echo $?)
if [ "$yaml_agreed" == "true" ]; then
return 0
fi