Added new translation dependencies to the -c checklist.

This commit is contained in:
stormdragon2976 2022-12-06 00:19:02 -05:00
parent bf81956b52
commit c373f2d0e5

View File

@ -202,6 +202,18 @@ checklist() {
errorList+=("Warning: translate-shell is not installed. Games that require translation will not be translated.") errorList+=("Warning: translate-shell is not installed. Games that require translation will not be translated.")
fi fi
packageList+=("translate-shell") packageList+=("translate-shell")
if command -v sqlite3 &> /dev/null ; then
[[ $# -eq 0 ]] && echo "Sqlite3 is installed."
else
errorList+=("Warning: sqlite is not installed. Required for games that need to be translated.")
fi
if command -v perl &> /dev/null ; then
[[ $# -eq 0 ]] && echo "Perl is installed."
else
errorList+=("Warning: perl is not installed. Required for games that need to be translated.")
fi
packageList+=("perl")
packageList+=("sqlite")
if command -v unix2dos &> /dev/null ; then if command -v unix2dos &> /dev/null ; then
[[ $# -eq 0 ]] && echo "Dos2unix is installed." [[ $# -eq 0 ]] && echo "Dos2unix is installed."
else else