<commit_before>#!/bin/bash
# LinuxGSM fix_rust.sh function
# Author: <NAME>
# Website: https://linuxgsm.com
# Description: Resolves startup issue with Unturned.

functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

# steamclient.so: cannot open shared object file: No such file or directory
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${serverfiles}:${serverfiles}/linux64"
<commit_msg>fix(untserver): fix steamclient.so issue (#3038)<commit_after>#!/bin/bash
# LinuxGSM fix_rust.sh function
# Author: <NAME>
# Website: https://linuxgsm.com
# Description: Resolves startup issue with Unturned.

functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

# copy steamclient to server dir to fix the below
if [ ! -f "${serverfiles}/steamclient.so" ]; then
	fixname="steamclient.so x86_64"
	fn_fix_msg_start
	if [ -f "${HOME}/.steam/steamcmd/linux64/steamclient.so" ]; then
		cp "${HOME}/.steam/steamcmd/linux64/steamclient.so" "${serverfiles}/steamclient.so" >> "${lgsmlog}"
	elif [ -f "${steamcmddir}/linux64/steamclient.so" ]; then
		cp "${steamcmddir}/linux64/steamclient.so" "${serverfiles}/steamclient.so" >> "${lgsmlog}"
	fi
	fn_fix_msg_end
fi

# steamclient.so: cannot open shared object file: No such file or directory
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${serverfiles}"

{'fraction_non_alphanumeric': 0.16015325670498085, 'fraction_numerical': 0.01532567049808429, 'mean_word_length': 6.059459459459459, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7627134', 'n_tokens_mistral': 485, 'n_tokens_neox': 453, 'n_words': 103}