Scarsz пре 11 година
родитељ
комит
9fab0b0562
1 измењених фајлова са 11 додато и 0 уклоњено
  1. 11 0
      functions/fn_check_steamuser

+ 11 - 0
functions/fn_check_steamuser

@@ -0,0 +1,11 @@
+#!/bin/bash
+# LGSM fn_install_serverfiles function
+# Author: Daniel Gibbs
+# Website: http://gameservermanagers.com
+# Version: 160515
+
+if [ -z "${steamuser}" ]; then
+        fn_printwarningnl "SteamCMD user variable is not assigned in the main script! Resorting to anonymous login"
+	steamuser="anonymous"
+	steampass=""
+fi