Changeset - f0aa1102e47d
[Not reviewed]
0 1 0
Branko Majic (branko) - 4 years ago 2020-07-05 17:14:48
branko@majic.rs
Noticket: Fix incorrect version prompting when making instance copy in Factorio Manager.
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general) First comment
games/factorio_manager.sh
Show inline comments
 
@@ -19,13 +19,13 @@
 
#
 

	
 
# Treat unset variables as errors.
 
set -u
 

	
 
program="factorio_manager.sh"
 
version="0.2"
 
version="0.2.1"
 

	
 
function synopsis() {
 
cat <<EOF
 
$program $version, helper tool for managing Factorio instances
 

	
 
Usage:
 
@@ -2018,13 +2018,13 @@ elif [[ $command == copy ]]; then
 

	
 
        # Display list of available Factorio versions.
 
        echo
 
        echo "If you wish to, you can now change version of Factorio used for destination instance, or keep the same version as for source instance."
 
        echo
 

	
 
        select_factorio_version "$game_installations_directory" "$game_version" "current" | exit "$ERROR_GENERAL"
 
        select_factorio_version "$game_installations_directory" "$game_version" "current" || exit "$ERROR_GENERAL"
 
        echo
 

	
 
        # Check if user wants to copy backup files as well.
 
        copy_backups=""
 

	
 
        until [[ $copy_backups == "y" || $copy_backups == "n" ]]; do
0 comments (0 inline, 0 general) First comment
You need to be logged in to comment. Login now