From c373f2d0e5afdd2c70f4a5c35d790fb53ad638ac Mon Sep 17 00:00:00 2001 From: stormdragon2976 Date: Tue, 6 Dec 2022 00:19:02 -0500 Subject: [PATCH] Added new translation dependencies to the -c checklist. --- audiogame-manager.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 02c9d70..f0d338a 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -202,6 +202,18 @@ checklist() { errorList+=("Warning: translate-shell is not installed. Games that require translation will not be translated.") fi 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 [[ $# -eq 0 ]] && echo "Dos2unix is installed." else