From 2f92150c10f481206d5ff962fe67dfc4e3b088be Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 11 Nov 2022 16:09:38 -0500 Subject: [PATCH] Added translate-shell to the -c flag. --- audiogame-manager.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index a1b012c..54a7927 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -252,6 +252,12 @@ checklist() { errorList+=("Warning: Sox is not installed. Audio will not work.") fi packageList+=("sox") + if command -v trans &> /dev/null ; then + [[ $# -eq 0 ]] && echo "Translate-shell is installed." + else + errorList+=("Warning: translate-shell is not installed. Games that require translation will not be translated.") + fi + packageList+=("translate-shell") if command -v unix2dos &> /dev/null ; then [[ $# -eq 0 ]] && echo "Dos2unix is installed." else