This commit is contained in:
the-sane 2019-10-24 00:34:52 -04:00
parent 3936d7e67c
commit 1c12a26076

View File

@ -40,18 +40,17 @@ mappings="$user/Controls/Mappings"
if [ "$i_changed_these" = "false" ]; then
echo "Before you run this script, edit it and change"
echo -e "the default paths to match your configuration!\n"
read -n 1 -s -p "Press any key to continue, or Ctrl-c to quit..."
read -n 1 -s -p "Press any key to exit..."
else
echo -e "\n----------------------------------------------------------------\n"
fi
# Sanity checks
if [ ! -d "$prefix" ]; then
# Sanity checks
if [ ! -d "$prefix" ]; then
echo "Invalid path: $prefix"
echo "Aborting"
elif [ ! -d "$path" ]; then
elif [ ! -d "$path" ]; then
echo "Invalid path: $path"
echo "Aborting"
else
else
# Prompt user to back up the current keybinds in the game
echo "Before proceeding, please be sure you have"
@ -103,4 +102,5 @@ else
#echo -e "Sing it with the feeling now, car wash yeah!\n"
echo "And we're done here. Have fun!"
fi
fi