Browse Source

Validate fix

Fixes Fixes #991 for validate command
Also, it lacked a line jump.
pull/1255/head
UltimateByte 8 years ago
committed by GitHub
parent
commit
88c70c9928
  1. 5
      lgsm/functions/command_validate.sh

5
lgsm/functions/command_validate.sh

@ -9,6 +9,7 @@ local commandaction="Validate"
local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
fn_validation(){
echo ""
echo -e " * Validating may overwrite some customised files."
echo -en " * https://developer.valvesoftware.com/wiki/SteamCMD#Validate"
sleep 3
@ -19,7 +20,9 @@ fn_validation(){
cd "${rootdir}/steamcmd"
if [ $(command -v stdbuf) ]; then
# Detects if unbuffer command is available for 32 bit distributions only.
info_distro.sh
if [ $(command -v stdbuf) ]&&[ "${arch}" != "x86_64" ]; then
unbuffer="stdbuf -i0 -o0 -e0"
fi

Loading…
Cancel
Save