|
@ -338,11 +338,11 @@ if [ "${shortname}" == "core" ]; then |
|
|
|
|
|
|
|
|
if [ "${userinput}" == "list" ]||[ "${userinput}" == "l" ]; then |
|
|
if [ "${userinput}" == "list" ]||[ "${userinput}" == "l" ]; then |
|
|
{ |
|
|
{ |
|
|
tail -n +2 "${serverlist}" | awk -F "," '{print $2 "\t" $3}' |
|
|
tail -n +1 "${serverlist}" | awk -F "," '{print $2 "\t" $3}' |
|
|
} | column -s $'\t' -t | more |
|
|
} | column -s $'\t' -t | more |
|
|
exit |
|
|
exit |
|
|
elif [ "${userinput}" == "install" ]||[ "${userinput}" == "i" ]; then |
|
|
elif [ "${userinput}" == "install" ]||[ "${userinput}" == "i" ]; then |
|
|
tail -n +2 "${serverlist}" | awk -F "," '{print $1 "," $2 "," $3}' > "${serverlistmenu}" |
|
|
tail -n +1 "${serverlist}" | awk -F "," '{print $1 "," $2 "," $3}' > "${serverlistmenu}" |
|
|
fn_install_menu result "LinuxGSM" "Select game server to install." "${serverlistmenu}" |
|
|
fn_install_menu result "LinuxGSM" "Select game server to install." "${serverlistmenu}" |
|
|
userinput="${result}" |
|
|
userinput="${result}" |
|
|
fn_server_info |
|
|
fn_server_info |
|
|