diff --git a/lgsm/functions/install_mta_resources.sh b/lgsm/functions/install_mta_resources.sh index bed82c594..1107ad0aa 100644 --- a/lgsm/functions/install_mta_resources.sh +++ b/lgsm/functions/install_mta_resources.sh @@ -9,28 +9,6 @@ local commandname="INSTALL" local commandaction="Install" local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" -fn_install_libmysqlclient16(){ - echo "" - echo "Checking if libmysqlclient16 is installed" - echo "=================================" - sleep 1 - if [ ! -f "/usr/lib/libmysqlclient.so.16" ]; then - fn_print_warn_nl "libmysqlclient16 not installed. Installing.." - sleep 1 - sudo -v > /dev/null 2>&1 - if [ $? -eq 0 ]; then - fn_fetch_file "https://nightly.mtasa.com/files/modules/64/libmysqlclient.so.16" "${filedir}" "libmysqlclient.so.16" "chmodx" "norun" "noforce" "6c188e0f8fb5d7a29f4bc413b9fed6c2" - sudo mv "${tmpdir}/libmysqlclient.so.16" "/usr/lib/libmysqlclient.so.16" - else - fn_print_fail_nl "Failed to install libmysqlclient16, $(whoami) does not have sudo access. Download it manually and place it in /usr/lib" - sleep 1 - fi - else - echo "libmysqlclient16 already installed." - fi -} - -fn_install_libmysqlclient16 - -fn_print_information_nl "Server is inoperable by default without resources, you can install default ones by running the command install-default-resources" -echo "" +fn_print_information_nl "${gamename} will not function without resources!" +echo " * install default resources using ./${selfname} install-default-resources" +echo " * download resources from https://community.multitheftauto.com"