feat(macos-compatibility): add support for and documentation of macOS configuration file convert_config_macos

This commit is contained in:
sidneys 2020-04-07 23:33:43 +02:00
parent 32269042ab
commit b19bfd5b54

View File

@ -6,8 +6,10 @@ if [ -f `dirname $0`/convert_ve_plugin ]; then
. `dirname $0`/convert_ve_plugin
fi
if [ -f `dirname $0`/convert_config_linux ]; then
if [ -f `dirname $0`/convert_config_linux ] && [ `uname` == "Linux" ]; then
. `dirname $0`/convert_config_linux
elif [ -f `dirname $0`/convert_config_macos ] && [ `uname` == "Darwin" ]; then
. `dirname $0`/convert_config_macos
else
VIRTUAL_EDITIONS_LIST="CoreSingleLanguage Enterprise EnterpriseN Education \
EducationN ProfessionalEducation ProfessionalEducationN \
@ -266,7 +268,11 @@ if [ "$1" == "-?" -o "$1" == "--help" -o "$1" == "-h" ]; then
echo "0 - do not create virtual editions (default)"
echo "1 - create virtual edtitions"
echo ""
if [ `uname` == "Linux" ]; then
echo -e "${infoColor}convert_config_linux file${resetColor}"
elif [ `uname` == "Darwin" ]; then
echo -e "${infoColor}convert_config_macos file${resetColor}"
fi
echo "This file can be used to configure some advanced options of this script."
echo "It is required to place configuration in the same directory as script."
echo ""