Skip to content

Commit

Permalink
mGBA: fix mGBAUserInput
Browse files Browse the repository at this point in the history
  • Loading branch information
NotToDisturb committed Jul 11, 2024
1 parent 1794349 commit c8f7560
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ if test -f /usr/local/bin/melonDS; then
MelonDSUserInput="$output"
fi

MGBAUserInput="no"
mGBAUserInput="no"
if test -f /usr/local/bin/mGBA; then
description="Do you want to update mGBA? (May take 5 to 20 minutes)"
table=("yes" "no")
userinput_func "$description" "${table[@]}"
MGBAUserInput="$output"
mGBAUserInput="$output"
fi

MetaforceUserInput="no"
Expand Down Expand Up @@ -281,7 +281,7 @@ else
echo "Skipping melonDS update..."
fi

if [[ $GBAUserInput == "yes" ]]; then
if [[ $mGBAUserInput == "yes" ]]; then
echo "Updating mGBA..."
sleep 5
bash -c "$(curl -s https://raw.githubusercontent.com/$repository_username/L4T-Megascript/$repository_branch/scripts/games_and_emulators/mGBA.sh)" || exit $?
Expand Down

0 comments on commit c8f7560

Please sign in to comment.