feat: "server_exists" check

This commit is contained in:
2020-08-08 06:14:17 +03:00
parent 30b35fa24e
commit bfc5e000f7
28 changed files with 111 additions and 262 deletions

View File

@ -18,7 +18,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
function game_fix_permissions () # $*: Instance[s]
{
local InstanceList="$*"
@ -100,12 +100,6 @@ function game_validate ()
instance_start
}
function server_exists ()
{
test -x "$AppBin"
return $?
}
function first_install ()
{
include /etc/steamcmd/steamcmd.conf