Daniel Gibbs 6 năm trước cách đây
mục cha
commit
3d43e18742
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lgsm/functions/check_steamcmd.sh

+ 1 - 1
lgsm/functions/check_steamcmd.sh

@@ -48,7 +48,7 @@ fn_check_steamcmd_sh(){
 	# Installs if missing.
 	if [ ! -f "${steamcmddir}/steamcmd.sh" ]||[ ! "$(command -v steamcmd 2>/dev/null)" ]; then
 		# Debian and Ubuntu uses steamcmd package
-		if [ -f "/etc/debian_version" ]&&[ ! "$(command -v steamcmd 2>/dev/null)" ]; then
+		if [ -f "/etc/debian_version" ]&&[ "$(command -v steamcmd 2>/dev/null)" ]; then
 			# Install steamcmd with apt
 			:
 		else