1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-12-18 08:27:03 +02:00
This commit is contained in:
Piero Toffanin 2022-12-31 17:34:20 -05:00
parent 423b06d0cc
commit ecffd24dc1

4
run.sh
View File

@ -71,7 +71,7 @@ check_command(){
# Recurse, but don't pass the install command # Recurse, but don't pass the install command
check_command "$1" "$2" check_command "$1" "$2"
else else
check_msg_result="\033[91m can't find $1! Check that the program is installed and that you have added the proper path to the program to your PATH environment variable before launching WebODM. If you change your PATH environment variable, remember to close and reopen your terminal. $2\033[39m" check_msg_result="\033[91m can't find $1! Check that the program is installed and that you have added the proper path to the program to your PATH environment variable before launching the program. If you change your PATH environment variable, remember to close and reopen your terminal. $2\033[39m"
fi fi
fi fi
@ -86,4 +86,4 @@ environment_check(){
} }
environment_check environment_check
docker run -ti --rm -p $LT_PORT:$LT_PORT $DB_VOLUME -v lt-local:/home/libretranslate/.local libretranslate/libretranslate ${ARGS[@]} docker run -ti --rm -p $LT_PORT:$LT_PORT $DB_VOLUME -v lt-local:/home/libretranslate/.local libretranslate/libretranslate ${ARGS[@]}